lib/pigato/worker.rb in pigato-0.1.5 vs lib/pigato/worker.rb in pigato-0.1.6
- old
+ new
@@ -1,9 +1,10 @@
require "oj"
require "ffi-rzmq"
require "securerandom"
class PigatoWorker
+
HEARTBEAT_LIVENESS = 3 # 3-5 is reasonable
def initialize broker, service
@broker = broker
@service = service