Skip to content

Commit

Permalink
Merge pull request #160 from uktrade/feature/update
Browse files Browse the repository at this point in the history
chore:increase Celery task time limit to 30 minutes
  • Loading branch information
hareshkainthdbt authored Jan 14, 2025
2 parents 6cac8a1 + 68b6483 commit 0698f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbr/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
CELERY_BEAT_SCHEDULER = "django_celery_beat.schedulers.DatabaseScheduler"
CELERY_RESULT_EXTENDED = True
CELERY_TASK_TIME_LIMIT = (
900 # Maximum runtime for a task in seconds (e.g., 900/60 = 15 minutes)
1800 # Maximum runtime for a task in seconds (e.g., 1800/60 = 30 minutes)
)
CELERY_TASK_SOFT_TIME_LIMIT = (
270 # Optional: Grace period before forced termination
Expand Down

0 comments on commit 0698f0f

Please sign in to comment.