collectiveidea / delayed_job

Database based asynchronous priority queue system -- Extracted from Shopify
http://groups.google.com/group/delayed_job
MIT License
4.81k stars 955 forks source link

Allow identifier with multiple workers #1190

Open toncid opened 1 year ago

toncid commented 1 year ago

Hello,

Using identifiers with multiple workers has been prevented for 14 years at least. Maybe it is time to reconsider it.

This PR loosens up that restriction and allows multiple identified job workers to be started with the following process name format:

delayed_job(.<identifier>)(.<worker_index>)

Both fields are optional, so the default process name remains unchanged (delayed_job).

toncid commented 1 year ago

Discussion in issue #1191.

toncid commented 9 months ago

Hello, is this PR ready for merge?