mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #159] [MERGED] Add Feature to Pause Queue #1654
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#1654
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?
📋 Pull Request Information
Original PR: https://github.com/hibiken/asynq/pull/159
Author: @hibiken
Created: 6/5/2020
Status: ✅ Merged
Merged: 6/8/2020
Merged by: @hibiken
Base:
master← Head:feature/pause📝 Commits (7)
0893efcAdd Pause and Unpause methods to rdb00a9053Update Dequeue operation to skip paused queues7d53c79Add pause and unpause command to CLIb97ef4aUpdate stats command to show queue paused status153a795Fix data race in test15bc2e4Limit the number of tasks moved by CheckAndEnqueue to prevent a long1189097Add benchmark test to verify client enqueue performance while server is📊 Changes
17 files changed (+623 additions, -127 deletions)
View changed files
📝
.travis.yml(+1 -0)📝
.travis/benchcmp.sh(+5 -2)📝
benchmark_test.go(+72 -4)📝
internal/base/base.go(+2 -1)📝
internal/rdb/inspect.go(+62 -3)📝
internal/rdb/inspect_test.go(+212 -6)📝
internal/rdb/rdb.go(+51 -67)📝
internal/rdb/rdb_test.go(+92 -6)📝
internal/testbroker/testbroker.go(+1 -1)📝
processor.go(+6 -8)📝
processor_test.go(+5 -3)📝
scheduler.go(+1 -10)📝
scheduler_test.go(+0 -1)📝
server.go(+2 -3)➕
tools/asynq/cmd/pause.go(+47 -0)📝
tools/asynq/cmd/stats.go(+18 -12)➕
tools/asynq/cmd/unpause.go(+46 -0)📄 Description
Closes #125
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.