mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Avoid offline components to be marked as failed
This commit is contained in:
parent
b3ac981681
commit
b70a056dc5
@ -802,7 +802,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"
|
||||||
);
|
);
|
||||||
|
|
||||||
# Set the master server
|
# Set the master server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user