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

Do Sidekiq JIDs get reused? #1167

Closed
HenleyChiu opened this issue Sep 8, 2013 · 1 comment
Closed

Do Sidekiq JIDs get reused? #1167

HenleyChiu opened this issue Sep 8, 2013 · 1 comment

Comments

@HenleyChiu
Copy link

When a worker gets a job ID, does it get a different ID when it processes a new job?

For instance:
Worker #1 get JID: 100 when it processes job #1.
When it processes the next job, does the JID remain 100? or does it change?

@mperham
Copy link
Collaborator

mperham commented Sep 8, 2013

JIDs are never reused. They are 96-bit random numbers unique to each job.

@mperham mperham closed this as completed Sep 8, 2013
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