Why am I able to requeue same job multiple times? For example, job A finishes, I go to the details and just spam requeue and it will be requeued as many times as I pressed the button.
How can same job be processed at the same time by multiple workers?
The same job can not (or rather, MUST NOT) be processed by miltiple workers at the same time. If you want concurrent processing, you should have several different jobs (they all may have the same method and arguments, of course)
I think I managed to make it happen by setting jobs state manually in
OnStateElection(ElectStateContext context) from