Skip to content

Commit 28ea33e

Browse files
authored
Fix "error: Timeout 10000ms" (#63)
1 parent 7e6a6e3 commit 28ea33e

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
@@ -131,7 +131,7 @@ export function next(
131131
text: td.getText()
132132
})
133133
})).pipe(
134-
timeout(10000),
134+
timeout(50000),
135135
catchError(() => {
136136
if (parserCallbacks[id]) {
137137
delete parserCallbacks[id]
@@ -140,7 +140,7 @@ export function next(
140140
scanProcess = undefined
141141
return of({
142142
res: '',
143-
error: `Timeout: 10000ms`,
143+
error: `Timeout: 50000ms`,
144144
isTimeout: true,
145145
})
146146
})

0 commit comments

Comments
 (0)