mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-28 13:16:33 +00:00
forget to save
This commit is contained in:
parent
6f06a18b66
commit
b28ccc6d8f
@ -42,7 +42,7 @@ async function convertJsToTsInMigrations(connection: Connection): Promise<number
|
||||
}
|
||||
|
||||
export const getDatabaseState = async (): Promise<DatabaseState> => {
|
||||
const connection = await connectToDatabaseServer()
|
||||
const connection = await connectToDatabaseServer(CONFIG.DB_CONNECT_RETRY_COUNT, CONFIG.DB_CONNECT_RETRY_DELAY_MS)
|
||||
if (!connection) {
|
||||
return DatabaseState.NOT_CONNECTED
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user