mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
lint
This commit is contained in:
parent
b28ccc6d8f
commit
cc491b010d
@ -42,7 +42,10 @@ async function convertJsToTsInMigrations(connection: Connection): Promise<number
|
||||
}
|
||||
|
||||
export const getDatabaseState = async (): Promise<DatabaseState> => {
|
||||
const connection = await connectToDatabaseServer(CONFIG.DB_CONNECT_RETRY_COUNT, CONFIG.DB_CONNECT_RETRY_DELAY_MS)
|
||||
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