-
Notifications
You must be signed in to change notification settings - Fork 431
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
fix(job-scheduler): add next delayed job only when prevMillis matches with producerId #3001
Conversation
schedulerAttributes[2] or "{}", delayedOpts, timestamp, jobSchedulerId, maxEvents, KEYS[1], nil, nil) | ||
|
||
if ARGV[6] ~= "" then | ||
rcall("HSET", ARGV[6], "nrjid", nextDelayedJobId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can even potentially deprecated this attribute with this new validation
1e52f79
to
1aabebd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, other than I think producerKey could be a key instead of an arg.
ARGV[3] msgpacked delayed opts | ||
ARGV[4] timestamp | ||
ARGV[5] prefix key | ||
ARGV[6] producer key |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we use a key here instead of an arg?
4ff1399
to
d327bb4
Compare
## [5.34.9](v5.34.8...v5.34.9) (2025-01-12) ### Bug Fixes * **job-scheduler:** add next delayed job only when prevMillis matches with producerId ([#3001](#3001)) ([4ea35dd](4ea35dd))
Why
How
Additional Notes (Optional)
Any extra info here.