[X2Go-Commits] [x2gobroker] 02/02: lib/x2gobroker-agent.pl: Be more specific in comment about load average check.

git-admin at x2go.org git-admin at x2go.org
Thu Sep 13 16:33:15 CEST 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit 5923632054b34b5e44ec228a45f795443d9e48b8
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Sep 13 16:33:09 2018 +0200

    lib/x2gobroker-agent.pl: Be more specific in comment about load average check.
---
 lib/x2gobroker-agent.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/x2gobroker-agent.pl b/lib/x2gobroker-agent.pl
index b9359ba..3b2889d 100755
--- a/lib/x2gobroker-agent.pl
+++ b/lib/x2gobroker-agent.pl
@@ -162,7 +162,8 @@ if ( $mode eq 'checkload' ) {
 	close FILE;
 	my $loadavgXX = ( $avg1 + $avg5 + $avg15 ) * 100/3 + 1;
 	if ( $loadavgXX lt 1 ) {
-		# load may not be ZERO, we should never get here...
+		# if we get here, then our avgXX values were negative,
+		# we should never get here...
 		$loadavgXX = 1;
 	}
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list