We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38da095 commit 692902eCopy full SHA for 692902e
adserver/tasks.py
@@ -791,7 +791,12 @@ def daily_update_publishers(day=None):
791
)
792
793
794
-@app.task(time_limit=60 * 60 * 4)
+@app.task(
795
+ time_limit=60 * 60 * 4,
796
+ autoretry_for=(Exception,),
797
+ retry_kwargs={"max_retries": 3},
798
+ retry_backoff=True,
799
+)
800
def daily_update_reports():
801
"""Update today's report data rather than the previous day."""
802
day, _ = get_day()
0 commit comments