Skip to content

Commit

Permalink
Merge pull request #20 from NeuraLegion/revert/heartbeat
Browse files Browse the repository at this point in the history
refactor(repeater): stop sending ping
  • Loading branch information
bararchy authored Aug 12, 2024
2 parents add343f + ccb20b4 commit 365efbb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/sec_tester/repeater.cr
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ module SecTester
}
)
deploy
spawn do
heartbeat
end
end

private def heartbeat
loop do
sleep 10.seconds
break unless @running
@socket.emit("ping")
end
rescue e : Exception
Log.error { "Repeater heartbeat error: #{e.message}" }
end

def deploy
Expand Down

0 comments on commit 365efbb

Please sign in to comment.