-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない #12391
サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない #12391
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #12391 +/- ##
===========================================
- Coverage 78.77% 78.63% -0.15%
===========================================
Files 947 176 -771
Lines 102729 23334 -79395
Branches 8274 495 -7779
===========================================
- Hits 80929 18349 -62580
+ Misses 21800 4985 -16815 ☔ View full report in Codecov by Sentry. |
このPRによるapi.jsonの差分 差分はこちら |
}); | ||
if (!antenna.isActive) { | ||
antenna.isActive = true; | ||
antenna.lastUsedAt = new Date(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isActiveだった場合lastUsedAtが更新されないけど大丈夫そうかしら
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
大丈夫じゃないですね…
修正しました:pray:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
読み込みのたびにlastUsedAtが更新されるのも無駄感あるからそのうちなんとかしたいわね
🙏 |
* サーバ起動時にアンテナが非アクティブだった場合、アクティブ化しても再起動するまで反映されない * Fix CHANGELOG.md * lastUsedAtの更新に不備が出るので修正 --------- Co-authored-by: osamu <[email protected]>
What
#12303 の対応です。
この対応により、アンテナの再アクティブ化がすぐに反映されて再びユーザのアンテナTLに配信されるようになります。
deactivateAntennaThreshold
(デフォだと一週間)以上再起動していないサーバではこの現象が起こりやすくなります。Why
サーバが再起動するまで再アクティブ化されたアンテナの状態が反映されないのは不便
Additional info (optional)
以下手順で確認
Checklist