contribsys / faktory

Language-agnostic persistent background job server
https://contribsys.com/faktory/
Other
5.71k stars 228 forks source link

Question: do multiple job invocations have different JIDs? #415

Closed elldritch closed 1 year ago

elldritch commented 1 year ago

Is a JID tied to a specific job's definition, or to an execution of that job? That is, if I have a job that retries twice, will each retry have a different JID?

This would be useful to add to https://github.com/contribsys/faktory/wiki/Job-Errors#faq.

mperham commented 1 year ago

Jobs are persistent, they have a fixed JID across all executions.