Skip to content

Commit efa097f

Browse files
Add retries to backup notify task since matrix will be down (#88)
1 parent 271c39b commit efa097f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

techbloc_airflow/dags/maintenance/backups/offsite_backups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def backup_service(config: OffsiteConfig):
4040
filename=local_backup,
4141
)
4242

43-
@task
43+
@task(retries=3, retry_exponential_backoff=True)
4444
def notify_backup_complete():
4545
matrix.send_message(
4646
f"{config.name} backup complete at: `s3://{BUCKET_NAME}/{config.filename}`"

0 commit comments

Comments
 (0)