Skip to content

Commit

Permalink
lower timeout significantly
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Aug 16, 2024
1 parent f788cf9 commit 4aec592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ export class ManagedStorage {
);

const timeoutPromise = new Promise((resolve) => {
setTimeout(() => resolve(defaultValue), 1500);
setTimeout(() => resolve(defaultValue), 10);
});

return Promise.race([managedStoragePromise, timeoutPromise]);
Expand Down

0 comments on commit 4aec592

Please sign in to comment.