Skip to content

Commit

Permalink
Further increase frequence of the fill pk task in H
Browse files Browse the repository at this point in the history
Start earlier, do the task every 10 minutes and for a bigger batch size
  • Loading branch information
marcospri committed Sep 8, 2023
1 parent 78cc3b1 commit a600b73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions h_periodic/h_beat.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
"fill-annotations-pk": {
"options": {"expires": 30},
"task": "h.tasks.annotations.fill_pk_and_user_id",
"schedule": crontab(hour="*,9-12", minute="*/15"),
"kwargs": {"batch_size": 10000},
"schedule": crontab(hour="*,6-12", minute="*/10"),
"kwargs": {"batch_size": 15000},
},
"report-sync-annotations-queue-length": {
"options": {"expires": 30},
Expand Down

0 comments on commit a600b73

Please sign in to comment.