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
04b221409c
commit
bfcc1fc3aa
|
@ -53,4 +53,4 @@ const promises = Array
|
|||
connectToPostgres()
|
||||
]);
|
||||
|
||||
await Promise.allSettled(promises);
|
||||
await Promise.all(promises);
|
||||
|
|
Loading…
Reference in New Issue