Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: prepare to split save_event_transaction queue into 3 #78868

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typing
  • Loading branch information
lynnagara committed Oct 9, 2024
commit 6e20e03757b691d3f2183fecd9b39a97339e9f1c
2 changes: 1 addition & 1 deletion src/sentry/utils/celery.py
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ def _build_queues(base: str, quantity: int) -> Sequence[Queue]:
return [Queue(name=name, routing_key=name) for name in build_queue_names(base, quantity)]


def make_split_task_queues(config: Mapping[str, SplitQueueTaskRoute]) -> Sequence[Queue]:
def make_split_task_queues(config: Mapping[str, SplitQueueTaskRoute]) -> list[Queue]:
"""
Generates the split queues definitions from the mapping between
a task name and a config expressed as `SplitQueueTaskRoute`.