Review Changes

- Updated the retry and max_retries of the process_ses_results celery
task to be the same as other retry strategies in that file
- Provided a message with the 200 to be similar to how other responses
are handled
This commit is contained in:
Richard Chapman
2017-10-26 12:09:14 +01:00
parent c2f2d39d22
commit d6cff97b7b
2 changed files with 4 additions and 2 deletions

View File

@@ -550,7 +550,7 @@ def process_incomplete_job(job_id):
job_complete(job, job.service, template, resumed=True)
@notify_celery.task(bind=True, name="process-ses-result", max_retries=12, default_retry_delay=300000)
@notify_celery.task(bind=True, name="process-ses-result", max_retries=5, default_retry_delay=300)
@statsd(namespace="tasks")
def process_ses_results(self, response):
errors = process_ses_response(response)