binarymatt / pyres

a resque clone in python
http://github.com/binarydud/pyres
MIT License
955 stars 130 forks source link

Implementing timeout for workers #105

Closed heynemann closed 12 years ago

heynemann commented 12 years ago

We have a worker that ocasionally takes a long time to process and thus locks the worker.

I've seen a ticket asking for implementing timeout for workers. We implemented it and it works as expected. When you start a worker you can specify a timeout in seconds for that given worker.

If we can improve anything that would help this in being accepted, please let us know.

Cheers, Bernardo Heynemann

binarymatt commented 12 years ago

looks good. Thanks for the tests as well.