mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-25 23:15:51 +03:00
[PR #1059] enhancement: allow setting config for each group #3019
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#3019
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/1059
Author: @armistcxy
Created: 6/24/2025
Status: 🔄 Open
Base:
master← Head:enhance/groupcfg📝 Commits (1)
2bf528afeat: allow setting config for each group📊 Changes
2 files changed (+82 additions, -12 deletions)
View changed files
📝
aggregator.go(+34 -12)📝
server.go(+48 -0)📄 Description
This is not the final version, still need to add test
TestAggregatorMultipleGroupConfigstoaggregator_test.go(though I have test through asynqmon).Concern: if groupA has
GracePeriod: 3 * time.Second, group B hasGracePeriod: 4 * time.Second. Then after 6 seconds, tasks from group B can be aggregated, but it supposed to be after 4 seconds. The reason is:I will work on this, but before that I need some validations or suggestions from you @kamikazechaser .
Effort for implementing #1045
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.