Changeset [91d834a2d72ff11486f08d9bd391351fee98b507] by David Balatero
Revision 91d834a2d72ff11486f08d9bd391351fee98b507,
committed by David Balatero
· June 6th, 2009 @ 01:11 AM
Added enhancements to Worker.
- They are now aware of shutdowns that occur, and will terminate themselves.
- They keep track of messages_processed after every run_loop().
- They pass message IDs to the WorkerError class. http://github.com/dbalatero/queu...
2 changed files
-
M
lib/queue_stick/worker.rb -
M
spec/queue_stick/worker_spec.rb