Skip to content

More granular control of DisallowConcurrentExecution #2338

Answered by lahma
deanmarcussen asked this question in Q&A
Discussion options

You must be logged in to vote

Having DisallowConcurrentJobExecution for a type guides the job key locking. So would it be somehow sufficient (or otherwise better) if you'd register such jobs per tenant/shell so that the job key (group?) would include context as discriminator?

Say these jobs sharing same type could be running at the same time but not individually at the same time would be (Group: "tenant-A", Name: "IndexManagement") and (Group: "tenant-B", Name: "IndexManagement") .

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@deanmarcussen
Comment options

Answer selected by deanmarcussen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants