Changed the agent runtime timeout to 60 seconds.

Signed-off-by: Digimer <digimer@alteeve.ca>
main
Digimer 3 years ago
parent 15d8309095
commit 38f95870bb
  1. 2
      Anvil/Tools.pm
  2. 4
      scancore-agents/scan-network/scan-network

@ -834,7 +834,7 @@ sub _set_defaults
$anvil->data->{scancore} = {
timing => {
# Delay between DB connection attempts when no databases are available?
agent_runtime => 30,
agent_runtime => 60,
db_retry_interval => 2,
# Delay between scans?
run_interval => 60,

@ -60,7 +60,7 @@ if (($anvil->data->{scancore}{'scan-hardware'}{disable}) && (not $anvil->data->{
}
# Handle start-up tasks
my $problem = $anvil->ScanCore->agent_startup({debug => 2, agent => $THIS_FILE});
my $problem = $anvil->ScanCore->agent_startup({agent => $THIS_FILE});
if ($problem)
{
$anvil->nice_exit({exit_code => 1});
@ -91,7 +91,7 @@ find_changes($anvil);
process_health($anvil);
# Shut down.
$anvil->ScanCore->agent_shutdown({debug => 2, agent => $THIS_FILE});
$anvil->ScanCore->agent_shutdown({agent => $THIS_FILE});
#############################################################################################################

Loading…
Cancel
Save