[GH-ISSUE #797] [FEATURE REQUEST] Globally limit active task number according to task type #1405

Closed
opened 2026-03-07 22:09:14 +03:00 by kerem · 1 comment
Owner

Originally created by @ydp on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/hibiken/asynq/issues/797

Originally assigned to: @hibiken on GitHub.

Is your feature request related to a problem? Please describe.
I have many types of task, could I globally (across multiple workers) to limit the active task number, for example, I want only one active task of each type of task.

Describe the solution you'd like
I would like a parameters like the Concurrency to limit active task number globally. Is this possible?

Describe alternatives you've considered
Currently no.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @ydp on GitHub (Dec 19, 2023). Original GitHub issue: https://github.com/hibiken/asynq/issues/797 Originally assigned to: @hibiken on GitHub. **Is your feature request related to a problem? Please describe.** I have many types of task, could I globally (across multiple workers) to limit the active task number, for example, I want only one active task of each type of task. **Describe the solution you'd like** I would like a parameters like the Concurrency to limit active task number globally. Is this possible? **Describe alternatives you've considered** Currently no. **Additional context** Add any other context or screenshots about the feature request here.
kerem 2026-03-07 22:09:14 +03:00
Author
Owner

@ydp commented on GitHub (Dec 19, 2023):

I guess global semaphore is sufficient to implement this

<!-- gh-comment-id:1863603936 --> @ydp commented on GitHub (Dec 19, 2023): I guess global semaphore is sufficient to implement this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynq#1405
No description provided.