fix(backend): 起動前の疎通チェックが機能しなくなっていた問題を修正 (#15043)

* check harder for connectibility

`allSettled` does not throw if a promise is rejected, so
`check_connect` never actually failed

* Update Changelog

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
かっこかり
2024-11-24 20:43:47 +09:00
committed by GitHub
parent eddf6a2319
commit a0e91b5882
2 changed files with 3 additions and 1 deletions

View File

@@ -53,4 +53,4 @@ const promises = Array
connectToPostgres()
]);
await Promise.allSettled(promises);
await Promise.all(promises);