Closed lakka closed 10 years ago
What if the worker is registered to gearman server twice with CAN_DO? Maybe we need to send RESET_ABILITIES followed by CAN_DO on each reconnect event?
The pull request was accepted to upstream and a new version was released. When can we close this issue?
Sorry about the delay, I was drinking beer in Sysmä.
When a worker disconnects from a gearman job server, and then reconnects to it, it does not send
CAN_DO
. This means that if the gearman job server is killed and then booted again, it will not be aware of the workers attached to it and is therefore unable to convey jobs to them.There are a few ways of solving this problem:
CAN_DO
is sent.