[X2Go-Commits] [x2gobroker] 01/03: fix loadchecker integration in base_broker.py

git-admin at x2go.org git-admin at x2go.org
Sat Mar 28 00:43:58 CET 2015


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

x2go pushed a commit to branch master
in repository x2gobroker.

commit 1466cdc04ebf6b943f12f31593dcbdb4355d1168
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Mar 28 00:42:02 2015 +0100

    fix loadchecker integration in base_broker.py
---
 x2gobroker/brokers/base_broker.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index f7fe912..bec6d03 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -38,6 +38,7 @@ import x2gobroker.config
 import x2gobroker.defaults
 import x2gobroker.agent
 import x2gobroker.x2gobroker_exceptions
+import x2gobroker.loadchecker
 
 from x2gobroker.loggers import logger_broker, logger_error
 
@@ -1453,7 +1454,7 @@ class X2GoBroker(object):
 
 
                     # dynamic load-balancing
-                    if self.use_load_checker(self, profile_id):
+                    if self.use_load_checker(profile_id):
                         busy_servers_temp = copy.deepcopy(busy_servers)
                         load_factors = x2gobroker.loadchecker.checkload(self.backend_name, profile_id)
                         if load_factors:

--
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