Skip to content
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

Perform deferred jobs on shutdown #729

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Conversation

KOBA789
Copy link
Collaborator

@KOBA789 KOBA789 commented Sep 16, 2024

What

シャットダウン時に遅延されていたジョブを全部実行するようにします。

Why

シャットダウン時に遅延されていたジョブを実行しないと notesCount の増分などが失われます。
また、テスト実行でもタイミングがズレて壊れるので、必要な対応です: misskey-dev#14558 (comment)

Additional info (optional)

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

Copy link

@riku6460 riku6460 merged commit 98cba06 into io Sep 16, 2024
15 checks passed
@riku6460 riku6460 deleted the fix-deferred-jobs-handling branch September 16, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants