seomoz / qless

Queue / Pipeline Management
MIT License
295 stars 76 forks source link

Add heartbeating to worker #193

Closed hghdo closed 10 years ago

hghdo commented 10 years ago

Add heartbeating to worker to monitor a work is still running. Currently qless web console displays all worker process even if the worker was shutdown unexpectly, for example network broken.

dlecocq commented 10 years ago

Workers actually do heartbeat in some sense. If a worker hasn't performed any request in 24 hours, then it gets removed from the list of workers. You can tune that number by setting max-worker-age (in seconds) in qless' config.

Does that help your use-case?

hghdo commented 10 years ago

It works well. Thanks