Skip to content

Commit 125241a

Browse files
authored
fix(reports): Significantly increase the schedule_organizations deadline (#94596)
Weekly report scheduling has been timing out recently on taskbroker. It seems to be due to the default 10s deadline being applied, where we probably want to wait much longer. This explicitly picks a generous deadline to ensure we can complete our weekly work without timing out.
1 parent 3bfd308 commit 125241a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sentry/tasks/summaries/weekly_reports.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@
6363
max_retries=5,
6464
acks_late=True,
6565
silo_mode=SiloMode.REGION,
66-
taskworker_config=TaskworkerConfig(namespace=reports_tasks, retry=Retry(times=5)),
66+
taskworker_config=TaskworkerConfig(
67+
namespace=reports_tasks,
68+
retry=Retry(times=5),
69+
processing_deadline_duration=timedelta(minutes=10),
70+
),
6771
)
6872
@retry
6973
def schedule_organizations(

0 commit comments

Comments
 (0)