bin/hbc in heartbeat-client-0.3.2 vs bin/hbc in heartbeat-client-0.4.0
- old
+ new
@@ -26,10 +26,10 @@
Daemons.run_proc('heartbeat-client.rb', :dir => File.join('/tmp'), :monitor => true,
:backtrace => true, :monitor => true) do
Heartbeat.log = Logger.new('/tmp/heartbeat.log')
loop do
begin
- Heartbeat.create(@config['apikey'], @config['endpoint'], @config['name'])
+ Heartbeat.create(@config)
rescue => e
puts e.message
end
GC.start
sleep(30)