Skip to content

Commit

Permalink
Merge pull request #76 from codecov/issue-362b
Browse files Browse the repository at this point in the history
fix: Update task schedules (#362)
  • Loading branch information
JerrySentry committed Aug 30, 2023
2 parents 0246588 + b76da11 commit 9f41bc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions celery_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ def _beat_schedule():
},
"github_app_webhooks_task": {
"task": gh_app_webhook_check_task_name,
"schedule": crontab(hour="0,6,12,18"),
"schedule": crontab(minute="0", hour="0,6,12,18"),
"kwargs": {
"cron_task_generation_time_iso": BeatLazyFunc(get_utc_now_as_iso_format)
},
},
"trial_expiration_cron": {
"task": trial_expiration_cron_task_name,
# 4 UTC is 12am EDT
"schedule": crontab(hour="4"),
"schedule": crontab(minute="0", hour="4"),
"kwargs": {
"cron_task_generation_time_iso": BeatLazyFunc(get_utc_now_as_iso_format)
},
Expand All @@ -142,7 +142,7 @@ def _beat_schedule():
if get_config("setup", "telemetry", "enabled", default=True):
beat_schedule["brolly_stats_rollup"] = {
"task": brolly_stats_rollup_task_name,
"schedule": crontab(hour="2"),
"schedule": crontab(minute="0", hour="2"),
"kwargs": {
"cron_task_generation_time_iso": BeatLazyFunc(get_utc_now_as_iso_format)
},
Expand Down

0 comments on commit 9f41bc2

Please sign in to comment.