mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #904] [FEATURE REQUEST] pause server #2474
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#2474
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 @dcboy on GitHub (Jul 18, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/904
Originally assigned to: @hibiken on GitHub.
Is your feature request related to a problem? Please describe.
I think I need to suspend a certain server node to receive and process tasks
Describe the solution you'd like
asynq server pause
asynq server unpause
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
When a certain node needs to be updated, I cannot directly kill the process. I must first suspend receiving tasks and wait for all current tasks to be executed before I can update.
@pior commented on GitHub (Nov 14, 2024):
When a worker is interrupted, it will shutdown gracefully, by letting running tasks complete before stopping.
Is there a specific reason why you can't kill the process?