lib/msgr/client.rb in msgr-0.8.0 vs lib/msgr/client.rb in msgr-0.9.0
- old
+ new
@@ -97,13 +97,13 @@
@mutex
end
def check_process!
unless ::Process.pid == @pid
- log(:warn) { 'Fork detected. Reset internal state...' }
+ log(:warn) { "Fork detected. Reset internal state. (Old PID: #{@pid} / New PID: #{::Process.pid}" }
reset
- @pid = ::Process.pid
+ @pid = ::Process.pid
end
end
def connection
@connection ||= Connection.new(uri, config, dispatcher).tap do