default timeout for IPAM ping

This commit is contained in:
alejandro-campos 2020-03-17 18:03:08 +01:00
parent 2977766cc7
commit 0f1ed5165e
1 changed files with 1 additions and 1 deletions

View File

@ -923,7 +923,7 @@ if ($perform_event_response) {
$event_response = db_get_row('tevent_response', 'id', $response_id); $event_response = db_get_row('tevent_response', 'id', $response_id);
$command_timeout = $event_response['command_timeout']; $command_timeout = $event_response !== false ? $event_response['command_timeout'] : 90;
if (enterprise_installed()) { if (enterprise_installed()) {
if ($event_response['server_to_exec'] != 0 && $event_response['type'] == 'command') { if ($event_response['server_to_exec'] != 0 && $event_response['type'] == 'command') {