perf: abort

This commit is contained in:
archer
2023-07-18 15:20:58 +08:00
parent 8a25aeabc4
commit 2330186a09
8 changed files with 50 additions and 28 deletions

View File

@@ -145,7 +145,7 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex
});
}
console.log(`finish time: ${(Date.now() - startTime) / 100}s`);
console.log(`finish time: ${(Date.now() - startTime) / 1000}s`);
if (stream) {
sseResponse({