Skip to content

Commit 4270ced

Browse files
committed
ref(seer): Use ingest_errors_tasks namespace for lightweight RCA task
This task makes an external API call with a 30s timeout, so it shouldn't run on the postprocess worker pool. Use ingest_errors_tasks to match generate_summary_and_run_automation which has the same dispatch pattern.
1 parent aa18de9 commit 4270ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sentry/tasks/seer/lightweight_rca_cluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
from sentry.models.group import Group
44
from sentry.seer.supergroups.lightweight_rca_cluster import trigger_lightweight_rca_cluster
55
from sentry.tasks.base import instrumented_task
6-
from sentry.taskworker.namespaces import ingest_errors_postprocess_tasks
6+
from sentry.taskworker.namespaces import ingest_errors_tasks
77

88
logger = logging.getLogger(__name__)
99

1010

1111
@instrumented_task(
1212
name="sentry.tasks.seer.lightweight_rca_cluster.trigger_lightweight_rca_cluster_task",
13-
namespace=ingest_errors_postprocess_tasks,
13+
namespace=ingest_errors_tasks,
1414
)
1515
def trigger_lightweight_rca_cluster_task(group_id: int, **kwargs) -> None:
1616
try:

0 commit comments

Comments
 (0)