From 59685ffd6e7919ea5e43378eebbd6e982b397acc Mon Sep 17 00:00:00 2001 From: Ewout Stortenbeker Date: Mon, 3 Apr 2023 16:39:45 +0200 Subject: [PATCH] increase worker db existence polling timeout --- src/storage/binary/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/binary/index.ts b/src/storage/binary/index.ts index 2b497c0..deac88c 100644 --- a/src/storage/binary/index.ts +++ b/src/storage/binary/index.ts @@ -886,7 +886,7 @@ export class AceBaseStorage extends Storage { const exists = await pfs.exists(this.fileName); if (exists) { openDatabaseFile(); } else { poll(); } - }, 10); // Wait 10ms before trying again + }, 1000); // Wait 1s before trying again }; poll(); }