Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniqueOpts with ByTags argument #368

Open
mobiletoly opened this issue May 22, 2024 · 2 comments
Open

UniqueOpts with ByTags argument #368

mobiletoly opened this issue May 22, 2024 · 2 comments

Comments

@mobiletoly
Copy link

We do have ByArgs argument in UniqueOpts but unfortunately it is not good enough for my use case to describe uniqueness of the job (because I have different timestamps, requests id etc in job arguments). Is it possible to add something like ByTags to UniqueOpts for more fine-grained uniqueness control?

@bgentry
Copy link
Contributor

bgentry commented May 22, 2024

@mobiletoly would it work for your use case if you could do uniqueness comparisons against a subset of args (specified by top level JSON field names) instead of all of them? That’s something we’ve talked about before but haven’t yet got around to implementing.

@mobiletoly
Copy link
Author

hi @bgentry - yes, it will absolutely work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants