lib/einhorn/worker.rb in einhorn-0.4.9 vs lib/einhorn/worker.rb in einhorn-0.5.0
- old
+ new
@@ -67,10 +67,10 @@
client = Einhorn::Client.for_path(socket)
else
raise "Unrecognized socket discovery mechanism: #{discovery.inspect}. Must be one of :filesystem, :argv, or :direct"
end
- client.command({
+ client.send_command({
'command' => 'worker:ack',
'pid' => $$
})
client.close if close_after_use