From e7a06fce728709901ad1dffa3aaa3522b22f1c7b Mon Sep 17 00:00:00 2001 From: Digimer Date: Wed, 23 Jun 2021 11:00:54 -0400 Subject: [PATCH] * Disabling the periodic network health check in anvil-daemon. Signed-off-by: Digimer --- tools/anvil-daemon | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/anvil-daemon b/tools/anvil-daemon index 20b41460..7098fb87 100755 --- a/tools/anvil-daemon +++ b/tools/anvil-daemon @@ -402,7 +402,9 @@ sub check_network } else { - $anvil->Network->check_network({heal => "down_only"}); + ### NOTE: This is constantly trying to "fix" healthy bonds, without a know way to + ### trigger to debug. As such, disabling for now. + #$anvil->Network->check_network({heal => "down_only"}); } check_firewall($anvil); @@ -1104,7 +1106,7 @@ sub keep_running sub run_jobs { my ($anvil, $startup) = @_; - $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { startup => $startup }}); + $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { startup => $startup }}); # This will be set to 1 if any jobs are not complete, preventing a restart of the daemon if it's # changed on disk. @@ -1117,7 +1119,7 @@ sub run_jobs my $ended_within = $startup ? 1 : 300; my $return = $anvil->Database->get_jobs({ended_within => $ended_within}); my $count = @{$return}; - $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 2, list => { + $anvil->Log->variables({source => $THIS_FILE, line => __LINE__, level => 3, list => { ended_within => $ended_within, 'return' => $return, count => $count,