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

Two schedules in one worker can cause infinite timeout #22

Closed rayz90 closed 10 years ago

rayz90 commented 10 years ago

Two schedules that run one the same time can cause an infinite timeout. The only way the get out of this state is to send a AlphaRPC Request, which crashes the worker. Below you find some debug logging.

[2014-06-23T13:27:00+02:00] production.worker-experian.DEBUG: Setting poll timeout to 0 milliseconds, because of schedule storage-keepalive
[2014-06-23T13:27:00+02:00] production.worker-experian.DEBUG: Running schedule storage-keepalive with expression: * * * * *.
[2014-06-23T13:27:00+02:00] production.worker-experian.DEBUG: Setting poll timeout to 60000 milliseconds, because of schedule send-experian
[2014-06-23T13:28:01+02:00] production.worker-experian.DEBUG: Running schedule send-experian with expression: * * * * *.
[2014-06-23T13:28:01+02:00] production.worker-experian.DEBUG: Setting poll timeout to -1000 milliseconds, because of schedule storage-keepalive