Skip to content

Commit

Permalink
removed annoying heartbeat debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
markjeee committed Sep 12, 2010
1 parent 0790575 commit 10960cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/palmade/socket_io_rack/base.rb
Expand Up @@ -67,7 +67,7 @@ def fire_message(data)
when Chframe
hb = msg[3..-1]

puts "Got HB: #{hb}"
# puts "Got HB: #{hb}"
if session['heartbeat'] == hb
# just got heartbeat
session.delete('heartbeat')
Expand Down Expand Up @@ -101,7 +101,7 @@ def fire_heartbeat(cycle_count)
hb = Time.now.to_s
session['heartbeat'] = hb

puts "Sending HB: #{hb}"
# puts "Sending HB: #{hb}"
reply("#{Chframe}#{hb}")
else
# TODO: Add support for handling if a previously sent
Expand Down

0 comments on commit 10960cc

Please sign in to comment.