[X2Go-Commits] [x2gobroker] 01/03: x2gobroker-loadchecker: Don't freeze if load information for a complete load-balanced server farm is unavailable.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 1 14:17:43 CEST 2015


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

x2go pushed a commit to branch master
in repository x2gobroker.

commit 4fd93a0a156dd813730bb1e91ecfdc3b2b8bd598
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Apr 1 10:09:35 2015 +0200

    x2gobroker-loadchecker: Don't freeze if load information for a complete load-balanced server farm is unavailable.
---
 debian/changelog            |    2 ++
 sbin/x2gobroker-loadchecker |    1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d51bd70..45e4ccd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -296,6 +296,8 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low
     - Don't enforce agent query mode "SSH" for x2gobroker-ssh anymore.
     - If a single-host is unreachable, return the host address, not the hostname
       and let X2Go Client release itself, that the host is unreachable.
+    - x2gobroker-loadchecker: Don't freeze if load information for a complete
+      load-balanced server farm is unavailable.
   * debian/control:
     + Provide separate bin:package for SSH brokerage: x2gobroker-ssh.
     + Replace LDAP support with session brokerage support in LONG_DESCRIPTION.
diff --git a/sbin/x2gobroker-loadchecker b/sbin/x2gobroker-loadchecker
index 0243dca..bdc88f6 100755
--- a/sbin/x2gobroker-loadchecker
+++ b/sbin/x2gobroker-loadchecker
@@ -96,6 +96,7 @@ class LoadCheckerServiceHandler(asyncore.dispatcher_with_send):
                             if self.logger: self.logger.warning('LoadCheckServiceHandler.handle_read(): load check failure for backend={backend}, profile_id={profile_id}, hostname={hostname}: LOAD-UNAVAILABLE'.format(backend=backend, profile_id=profile_id, hostname=h))
                 else:
                     if self.logger: self.logger.warning('LoadCheckServiceHandler.handle_read(): load check failure for backend={backend}, profile_id={profile_id}: LOAD-UNAVAILABLE'.format(backend=backend, profile_id=profile_id))
+                    output += "\n"
             self.send(output)
 
     def handle_close(self):

--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list