lib/msgr/client.rb in msgr-1.3.2 vs lib/msgr/client.rb in msgr-1.4.0
- old
+ new
@@ -12,11 +12,11 @@
def initialize(config = {})
@config = {
host: '127.0.0.1',
vhost: '/',
- max: 2
+ max: 2,
}
@config.merge! parse(config.delete(:uri)) if config[:uri]
@config.merge! config.symbolize_keys
@@ -146,10 +146,10 @@
def check_process!
return if ::Process.pid == @pid
log(:warn) do
"Fork detected. Reset internal state. (Old PID: #{@pid} / " \
- "New PID: #{::Process.pid}"
+ "New PID: #{::Process.pid}"
end
reset
@pid = ::Process.pid
end