Skip to content

Commit 6deea1e

Browse files
authored
fix(taskworker) Extend deadline for migrate_repo task (#94183)
Fixes SENTRY-41WA
1 parent 7656c81 commit 6deea1e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/sentry/integrations/tasks/migrate_repo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
times=5,
2626
delay=60 * 5,
2727
),
28+
processing_deadline_duration=60,
2829
),
2930
)
3031
@retry(exclude=(Integration.DoesNotExist, Repository.DoesNotExist, Organization.DoesNotExist))

src/sentry/notifications/utils/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def async_send_notification(
106106
silo_mode=SiloMode.REGION,
107107
queue="notifications",
108108
taskworker_config=TaskworkerConfig(
109-
namespace=notifications_tasks, processing_deadline_duration=20
109+
namespace=notifications_tasks, processing_deadline_duration=30
110110
),
111111
)
112112
def _send_notification(notification_class_name: str, arg_list: Iterable[Mapping[str, Any]]) -> None:

0 commit comments

Comments
 (0)