Skip to content

Commit 5b3a2db

Browse files
authored
Fix "error: Timeout 10000ms" (#64)
1 parent 19a2358 commit 5b3a2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ export async function parserFiles (paths: string[]) {
245245
setTimeout(() => {
246246
delete parserCallbacks[id]
247247
res({
248-
error: 'Timeout 10000ms',
248+
error: 'Timeout 50000ms',
249249
timeout: true
250250
})
251-
}, 10000);
251+
}, 50000);
252252
} else {
253253
queueFsPaths.unshift(fsPath)
254254
delete parserCallbacks[id]

0 commit comments

Comments
 (0)