mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Increase max_retries for the task.
This commit is contained in:
@@ -258,7 +258,7 @@ def persist_letter(
|
|||||||
handle_exception(self, notification, notification_id, e)
|
handle_exception(self, notification, notification_id, e)
|
||||||
|
|
||||||
|
|
||||||
@notify_celery.task(bind=True, name="build-dvla-file", max_retries=5, default_retry_delay=300)
|
@notify_celery.task(bind=True, name="build-dvla-file", max_retries=15, default_retry_delay=300)
|
||||||
@statsd(namespace="tasks")
|
@statsd(namespace="tasks")
|
||||||
def build_dvla_file(self, job_id):
|
def build_dvla_file(self, job_id):
|
||||||
if all_notifications_are_created_for_job(job_id):
|
if all_notifications_are_created_for_job(job_id):
|
||||||
|
|||||||
Reference in New Issue
Block a user