mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Avoid mark as crashed satellite_server
This commit is contained in:
parent
b70a056dc5
commit
423a46af8c
@ -803,7 +803,8 @@ sub main() {
|
|||||||
db_do ($DBH,
|
db_do ($DBH,
|
||||||
"UPDATE tserver SET status = -1
|
"UPDATE tserver SET status = -1
|
||||||
WHERE UNIX_TIMESTAMP(now())-UNIX_TIMESTAMP(keepalive) > 2*server_keepalive
|
WHERE UNIX_TIMESTAMP(now())-UNIX_TIMESTAMP(keepalive) > 2*server_keepalive
|
||||||
AND status != 0"
|
AND status != 0 AND server_type != ?",
|
||||||
|
PandoraFMS::Tools::SATELLITESERVER
|
||||||
);
|
);
|
||||||
|
|
||||||
# Set the master server
|
# Set the master server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user