Skip to content

Commit

Permalink
Remove unused sub heartbeat.
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 7, 2017
1 parent 23ab0c9 commit 20de356
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,6 @@ sub cancel_handle

#--------------------------------------------

sub heartbeat
{
$time++;
while (@TIMER && $TIMER[0]->[0]<=$time) {
$active_timer_cb=(shift @TIMER)->[1];
$active_timer_cb->call();
}
$active_timer_cb=undef;
}

sub run
{
while (1) {
Expand Down

0 comments on commit 20de356

Please sign in to comment.