mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #973] Feat/dynamic queue with concurrency #958
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#958
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/973
Author: @pcmid
Created: 11/20/2024
Status: 🔄 Open
Base:
master← Head:feat/dynamic_queue_with_concurrency📝 Commits (4)
be15ef6feat: concurrency control queue2bace4cfeat: dynamic queue concurrency8d2955efix testa05cbd2fix: add queue after server stopped📊 Changes
10 files changed (+457 additions, -27 deletions)
View changed files
📝
aggregator.go(+5 -0)📝
heartbeat.go(+1 -0)📝
internal/base/base.go(+5 -3)📝
internal/rdb/rdb.go(+47 -16)📝
internal/rdb/rdb_test.go(+89 -1)📝
internal/testbroker/testbroker.go(+6 -1)📝
processor.go(+15 -3)📝
server.go(+93 -3)📝
server_test.go(+193 -0)📝
subscriber.go(+3 -0)📄 Description
Implemented #250, based on #879, cc @kanzihuang, with support for dynamically adding queues and controlling concurrency levels.
Not fully verified, butit works perfectly for my use case: a distributed spider with concurrency control.Known issues:
When the server is running, setting the queue concurrency does not take effect.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.