mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user