Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Jul 10, 2024
1 parent 334fa99 commit 3cc1821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/jagex2/io/ClientWorkerStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class WorkerReader {
while (this.total < len) {
await Promise.race([
new Promise((resolve): ((value: PromiseLike<((data: WorkerEvent | null) => void) | null>) => void) => (this.callback = resolve)),
sleep(20000).then((): void => {
sleep(100000).then((): void => {
throw new Error('WorkerReader timed out or closed while reading.');
})
]);
Expand Down

0 comments on commit 3cc1821

Please sign in to comment.