From 6e7482aaac5c3891bb28a7fc6778a81239b64295 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 15 Mar 2017 15:42:52 +0000 Subject: [PATCH] Increase max_retries for the task. --- app/celery/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/celery/tasks.py b/app/celery/tasks.py index fe2d37484..ae16f6c5e 100644 --- a/app/celery/tasks.py +++ b/app/celery/tasks.py @@ -258,7 +258,7 @@ def persist_letter( 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") def build_dvla_file(self, job_id): if all_notifications_are_created_for_job(job_id):