Skip to content

Commit

Permalink
fix(backend): 起動前の疎通チェックが機能しなくなっていた問題を修正 (misskey-dev#15043)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
kakkokari-gtyih and dakkar authored Nov 24, 2024
1 parent eddf6a2 commit a0e91b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

### Server
- Fix: ユーザーのプロフィール画面をアドレス入力などで直接表示した際に概要タブの描画に失敗する問題の修正( #15032 )
- Fix: 起動前の疎通チェックが機能しなくなっていた問題を修正
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/737)


## 2024.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/scripts/check_connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ const promises = Array
connectToPostgres()
]);

await Promise.allSettled(promises);
await Promise.all(promises);

0 comments on commit a0e91b5

Please sign in to comment.