Skip to content

Commit

Permalink
Decrease batch size for the H.annotation pk fill up task
Browse files Browse the repository at this point in the history
We've been seeing a number of timeouts for this tasks.
Reducing the number drastically to try to get the number of failed task
sto 0.
  • Loading branch information
marcospri committed Sep 18, 2023
1 parent f3732c6 commit 7fc5751
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 @@ -56,7 +56,7 @@
"options": {"expires": 30},
"task": "h.tasks.annotations.fill_pk_and_user_id",
"schedule": crontab(hour="4-12", minute="*/5"),
"kwargs": {"batch_size": 5000},
"kwargs": {"batch_size": 1000},
},
"report-sync-annotations-queue-length": {
"options": {"expires": 30},
Expand Down

0 comments on commit 7fc5751

Please sign in to comment.