start app fix

This commit is contained in:
Jan Prochazka 2021-05-17 18:20:31 +02:00
parent 4bae23ecfa
commit 050b46813f
3 changed files with 21 additions and 2 deletions

View File

@ -1,5 +1,19 @@
# ChangeLog
### 4.2.0
- ADDED: Support of SQLite database
- ADDED: Support of Amazon Redshift database
- ADDED: Support of CockcroachDB
- CHANGED: DB Model is not auto-refreshed by default, refresh could be invoked from statusbar
- FIXED: Fixed race conditions on startup
- FIXED: Fixed broken style in data grid under strange circumstances
- ADDED: Configure connections with commandline arguments #108
- CHANGED: Optimalized algorithm of incremental DB model updates
- CHANGED: Loading queries from PostgreSQL doesn't need cursors, using streamed query instead
- ADDED: Disconnect command
- ADDED: Query executed on server has tab marker (formerly it had only "No DB" marker)
- ADDED: Horizontal scroll using shift+mouse wheel #113
### 4.1.11
- FIX: Fixed crash of API process when using SSH tunnel connection (race condition)

View File

@ -17,11 +17,13 @@ Supported databases:
* PostgreSQL
* SQL Server
* MongoDB
* SQLite
* Amazon Redshift
* CockroachDB
![Screenshot](https://raw.githubusercontent.com/dbgate/dbgate/master/screenshot.png)
## Features
* Connect to Microsoft SQL Server, Postgre SQL, MySQL, MongoDB
* Table data editing, with SQL change script preview
* Master/detail views
* Query designer

View File

@ -22,9 +22,12 @@
loaded = settings?.data && connections?.data && config?.data;
if (loaded) {
setAppLoaded();
} else {
console.log('API not initialized correctly, trying again in 1s');
setTimeout(loadSettings, 1000);
}
} catch (err) {
console.log('Error loading settings, trying again in 1s');
console.log('Error calling API, trying again in 1s');
setTimeout(loadSettings, 1000);
}
}