mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 07:25:56 +03:00
[PR #407] [CLOSED] add UniqueKey option to extend Unique's behaviour #1750
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#1750
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/407
Author: @benjajaja
Created: 2/24/2022
Status: ❌ Closed
Base:
master← Head:uniquekey📝 Commits (1)
0fd8262add UniqueKey option to extend Unique's behaviour📊 Changes
1 file changed (+19 additions, -1 deletions)
View changed files
📝
client.go(+19 -1)📄 Description
Instead of (queue, type, payload) use any custom key. This allows to
enforce unique tasks not limited to same payload and/or type.
Tested with
--redis_clusterflag.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.