From a976cfe6b60da18b65d93eb6a9d88c15b29bb5c8 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 6 Aug 2019 11:42:57 -0700 Subject: [PATCH] Time out faster for IndexedDB existence checks --- js/modules/indexeddb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/indexeddb.js b/js/modules/indexeddb.js index e92e2d5e19..b64e339fbe 100644 --- a/js/modules/indexeddb.js +++ b/js/modules/indexeddb.js @@ -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 = () => {