mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 18:09:05 +01:00
check harder for connectibility
`allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed
This commit is contained in:
parent
6ed38f53f5
commit
9fe5dc679a
1 changed files with 1 additions and 1 deletions
|
@ -57,4 +57,4 @@ const promises = Array
|
|||
connectToPostgres()
|
||||
]);
|
||||
|
||||
await Promise.allSettled(promises);
|
||||
await Promise.all(promises);
|
||||
|
|
Loading…
Reference in a new issue