Skip to content

Commit

Permalink
fix(Queue): bump max_attempts to 2. ref #376
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 8, 2024
1 parent 6f446b9 commit e83158b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,11 @@
Q_CLUSTER = {
"name": "DjangORM",
"workers": 2,
"timeout": 2 * 60 * 60, # 2h
# timeout is set to 2h (OFF daily sync is long)
"timeout": 2 * 60 * 60,
# retry must be less than timeout & less than it takes to finish a task
"retry": 2 * 60 * 60 + 1,
"max_attempts": 1,
"max_attempts": 2,
"queue_limit": 50,
"bulk": 10,
"orm": "default",
Expand Down

0 comments on commit e83158b

Please sign in to comment.