Fix non dataserver lag calculation

This commit is contained in:
Calvo 2023-02-15 11:12:11 +01:00
parent afb537422e
commit 369dffd1b4
1 changed files with 1 additions and 1 deletions

View File

@ -5647,7 +5647,7 @@ sub pandora_server_statistics ($$) {
) tam
ON tae.id_agente_modulo = tam.id_agente_modulo
WHERE (UNIX_TIMESTAMP() - tae.last_execution_try) < ( tae.current_interval * 10)
AND (tam.flag = 1 OR (UNIX_TIMESTAMP() - tae.last_execution_try) > tae.current_interval);", $server->{"id_server"});
AND (tam.flag = 1 OR (UNIX_TIMESTAMP() - tae.last_execution_try) > tae.current_interval)", $server->{"id_server"});
}
# Dataserver LAG calculation:
else {