8000 feat: set BEAT_CRON_STARTING_DEADLINE by jennifer-richards · Pull Request #8876 · ietf-tools/datatracker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: set BEAT_CRON_STARTING_DEADLINE #8876

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

jennifer-richards
Copy link
Member

This configures beat to look back at most 30 minutes (1800 seconds) when deciding if a PeriodicTask scheduled via a crontab schedule is due. The value was chosen to be long enough that tasks missed by a moderately problematic production deployment will still run, but that we won't be surprised by a task running at entirely the wrong time.

This will not impact newly created tasks, only ones that have a "last run" time that's too long ago.

https://docs.celeryq.dev/en/main/userguide/configuration.html#beat-cron-starting-deadline

Copy link
codecov bot commented May 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.79%. Comparing base (d528ff2) to head (25a3553).
Report is 17 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8876   +/-   ##
=======================================
  Coverage   88.79%   88.79%           
=======================================
  Files         314      314           
  Lines       41401    41402    +1     
=======================================
+ Hits        36763    36764    +1     
  Misses       4638     4638           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rjsparks rjsparks merged commit 7765ff1 into ietf-tools:main May 1, 2025
10 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0