fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] dw_dev2013-04-03 04:48 pm
Entry tags:

Worker configuration!

etc/workers.conf now contains a list of all the workers, grouped by functionality, and some basic documentation for the most commonly used ones.

Should make it easier the next time anyone has to test crossposting/importing/notifications, etc.

Feel free to adjust further as required, or if you discover that doing something needs a worker that isn't listed!
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2013-04-06 02:59 am (UTC)(link)
Aha!


Hmm, I've only put the gearman/theschwartz workers in here since that's what workers.conf is for. I think that the other workers will have to be in a separate README or up on the wiki somewhere, in that case.
alierak: (Default)

[personal profile] alierak 2013-04-06 03:01 am (UTC)(link)
http://wiki.dwscoalition.org/wiki/index.php/Workers?

But the ones marked 'Manual' are neither gm nor schwartz and still run from worker-manager.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2013-04-06 03:07 am (UTC)(link)
!!!

Hmm so I'm guessing all the manual workers always need just the one, yeah?
alierak: (Default)

[personal profile] alierak 2013-04-06 03:24 am (UTC)(link)
Some of them will work with more than one because of the locking mechanism. I could probably come up with a pathological case where you had so many users in so many clusters that needed birthday notifications every day that one worker on one server just wouldn't cut it, but that seems pretty unlikely.