Would be great to see an example of how to override the worker's name.
Apparently, this would be
Delayed::Job.worker_name = "worker_name";
I have submitted a pull request for a patch to be able to specify a worker_name upon initialization of a worker. Currently it seems this can only be done after it has been initialized, which doesn't seem beneficial for any purpose that I can think of.
see issue #35 https://github.com/tobi/delayed_job/issues/#issue/35
Rework script/delayed_job so it can be used as a plugin or a gem. Clo…