Skip to content

Comments

エピソード自動更新機能追加#35

Merged
ryo08271154 merged 5 commits intodevelopfrom
feature/auto-update-episodes
Feb 13, 2026
Merged

エピソード自動更新機能追加#35
ryo08271154 merged 5 commits intodevelopfrom
feature/auto-update-episodes

Conversation

@ryo08271154
Copy link
Owner

@ryo08271154 ryo08271154 commented Feb 13, 2026

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3c9057950

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +8 to +10
def ready(self):
from .ap_scheduler import start
start()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Guard scheduler startup to a single process

AppConfig.ready() runs in every Django process, so calling start() here creates a separate BackgroundScheduler per worker/autoreload process/management command process; in multi-worker deployments this makes the same cron jobs fire multiple times, causing duplicate episode-update runs and repeated external API traffic with potential races. Please gate scheduler startup to a single dedicated process (or use a distributed lock/leader election) before invoking start().

Useful? React with 👍 / 👎.

@ryo08271154 ryo08271154 merged commit 526d717 into develop Feb 13, 2026
4 checks passed
@ryo08271154 ryo08271154 deleted the feature/auto-update-episodes branch February 13, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant