Closed mjrusso closed 14 years ago
Or something like that.
http://github.com/mjrusso/pyres/commit/e15a3e7f3dc095b2ed318df33c13dded500903d8
A straight-up port of Resque's prune_dead_workers and worker_pids methods.
prune_dead_workers
worker_pids
Now, if you kill -9 your workers on a given machine (or something much, much worse happens), the next worker to start up on that same machine will unregister the dead ones.
kill -9
this looks pretty awesome. Hopefully I will have some time to cherry-pick it tonight.
this merged into a branch and soon into master
in master, pushed up
Or something like that.
http://github.com/mjrusso/pyres/commit/e15a3e7f3dc095b2ed318df33c13dded500903d8
A straight-up port of Resque's
prune_dead_workers
andworker_pids
methods.Now, if you
kill -9
your workers on a given machine (or something much, much worse happens), the next worker to start up on that same machine will unregister the dead ones.