alphacomm / alpharpc

AlphaRPC is an RPC daemon based on ZeroMQ that can be used to distribute workload over one or multiple servers.
alpharpc.net
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Only change state when new state is different #50

Closed olivier1980 closed 8 years ago

olivier1980 commented 8 years ago

Prevent the DEBUG log being filled with messages like this:

worker.DEBUG: Changing state from: ready to: ready.

jacobkiers commented 8 years ago

Looks good. Did you test it? Because log file output is not something that the automated tests cover...

olivier1980 commented 8 years ago

I tested it with 2 workers, no problems

jacobkiers commented 8 years ago

Your PR is now in version 1.4.1. Thank you for your contribution.