mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[GH-ISSUE #797] [FEATURE REQUEST] Globally limit active task number according to task type #389
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#389
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@ydp commented on GitHub (Dec 19, 2023):
I guess global semaphore is sufficient to implement this
LREMargument count = 0 ? #1185LREMargument count = 0 ? #2196