[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.1.0.3-33-ga7da6a7

X2Go dev team git-admin at x2go.org
Wed Jan 8 15:28:35 CET 2014


The branch, build-baikal has been updated
       via  a7da6a7a674e23e797661ca9fa561c190b40fe79 (commit)
      from  21c4a93cb38b98a7c20a39b91d5faeaab88c77db (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 debian/changelog            |    1 +
 x2go/backends/proxy/base.py |    7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index c2d04af..19a5303 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ python-x2go (0.1.1.0-0~x2go1) UNRELEASED; urgency=low
       sessions from another client.
     - Mark terminals as PENDING even before the X2goTerminalSession object is
       created.
+    - Change of sleep times when starting/stopping NX proxy.
 
  -- Mike Gabriel <mike at mimino.das-netzwerkteam.de>  Wed, 22 Jun 2011 01:20:48 +0200
 
diff --git a/x2go/backends/proxy/base.py b/x2go/backends/proxy/base.py
index ab48b39..01d5d21 100644
--- a/x2go/backends/proxy/base.py
+++ b/x2go/backends/proxy/base.py
@@ -148,7 +148,8 @@ class X2goProxyBASE(threading.Thread):
 
         """
         self._keepalive = False
-        gevent.sleep(1)
+        # wait for thread loop to finish...
+        gevent.sleep(.5)
         self._tidy_up()
 
     def run(self):
@@ -206,7 +207,7 @@ class X2goProxyBASE(threading.Thread):
                                               shell=_shell)
 
         while self._keepalive:
-            gevent.sleep(.5)
+            gevent.sleep(.2)
 
         if _X2GOCLIENT_OS == 'Windows':
             _stdin.close()
@@ -255,6 +256,6 @@ class X2goProxyBASE(threading.Thread):
         """
         threading.Thread.start(self)
         while self.proxy is None:
-            gevent.sleep(.1)
+            gevent.sleep(.2)
 
         return self.proxy


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list