mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Refactor s3upload
s3upload function has been moved to notifications-utils. https://github.com/alphagov/notifications-utils/pull/138 must be merge first. Remove scratch code that I was using to test celery.send_task method Revert the update to default_retry_delay. Increase the countdown, wait 1 minute before executing the task. Some of the changes in my previous commit are included here, that branch will be merged before this one, so it will make sense. Update version of notification_utils Update the version of notifications-utils
This commit is contained in:
@@ -271,7 +271,7 @@ def persist_letter(
|
||||
handle_exception(self, notification, notification_id, e)
|
||||
|
||||
|
||||
@notify_celery.task(bind=True, name="build-dvla-file", countdown=30, max_retries=15, default_retry_delay=30)
|
||||
@notify_celery.task(bind=True, name="build-dvla-file", countdown=60, max_retries=15, default_retry_delay=300)
|
||||
@statsd(namespace="tasks")
|
||||
def build_dvla_file(self, job_id):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user