Skip to content

Commit

Permalink
Run the fill annotation task every 4 minutes
Browse files Browse the repository at this point in the history
Timeout on the celery task is 2 minutes. One run every 4 should not
cause any issues in case one fails.
  • Loading branch information
marcospri committed Oct 31, 2023
1 parent 73923ab commit 6f88c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h_periodic/h_beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"fill-annotation-slim": {
"options": {"expires": 30},
"task": "h.tasks.annotations.fill_annotation_slim",
"schedule": crontab(hour="9-13", minute="*/15"),
"schedule": crontab(hour="9-13", minute="*/4"),
"kwargs": {"batch_size": 1000},
},
"report-sync-annotations-queue-length": {
Expand Down

0 comments on commit 6f88c23

Please sign in to comment.