Skip to content

Commit

Permalink
chore:Adjust cache rebuild task timing to 1:00 AM daily.
Browse files Browse the repository at this point in the history
The schedule for the cache rebuild task was incorrectly documented as running at a different time than configured. This change aligns both the actual schedule and the comment to correctly indicate the task runs at 1:00 AM daily.
  • Loading branch information
hareshkainthdbt committed Dec 10, 2024
1 parent 3522a93 commit 1b7a50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbr/celery_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
celery_app.conf.beat_schedule = {
"schedule-fbr-cache-task": {
"task": "celery_worker.tasks.rebuild_cache",
"schedule": crontab(hour="3", minute="46"), # Runs daily at 1:00 AM
"schedule": crontab(hour="1", minute="0"), # Runs daily at 1:00 AM
},
}

0 comments on commit 1b7a50c

Please sign in to comment.