From 2f547a781d914c642ad8ec22b4f94eda715a41aa Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 18 Oct 2017 15:04:08 +0200 Subject: [PATCH] clusterd: Remove mlx ping --- clusterd/clusterd | 9 --------- 1 file changed, 9 deletions(-) diff --git a/clusterd/clusterd b/clusterd/clusterd index 5a9c30e..e813978 100755 --- a/clusterd/clusterd +++ b/clusterd/clusterd @@ -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; @@ -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'}) {