Time out faster for IndexedDB existence checks
This commit is contained in:
		
					parent
					
						
							
								79bba52cfb
							
						
					
				
			
			
				commit
				
					
						a976cfe6b6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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 = () => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue