Time out faster for IndexedDB existence checks

This commit is contained in:
Scott Nonnenberg 2019-08-06 11:42:57 -07:00
parent 79bba52cfb
commit a976cfe6b6

View file

@ -154,7 +154,7 @@ async function doesDatabaseExist() {
'doesDatabaseExist: Timed out attempting to check IndexedDB status'
);
return resolve(false);
}, 5000);
}, 1000);
req.onerror = reject;
req.onsuccess = () => {