Skip to content

Commit

Permalink
Remove mlx ping
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Dec 7, 2017
1 parent c908546 commit 0f58943
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -1251,14 +1251,6 @@ sub check_overload() {
}
}

sub ping_mlx {
Donald::Select::timeout_requeue(86400);
system 'ping','-c','1','mlx';
if ($?) {
warn "failed to ping mlx\n";
}
}

#####################################################

my $slave=0;
Expand Down Expand Up @@ -1506,7 +1498,6 @@ if (defined $options{'push'}) {
$my_hostname eq $STAT_TARGET and My::Cluster::Updown::init();
$my_hostname eq 'lol' and My::NetlogReceiver::init();
Donald::Select::timeout(600,\&check_overload);
Donald::Select::timeout(30,\&ping_mlx);

Donald::Select::run();
} elsif ($options{'lsof'}) {
Expand Down

0 comments on commit 0f58943

Please sign in to comment.