[pytango] 467/483: In gevent mode set the serialization model to NO_SYNC

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:15:13 UTC 2017


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

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 803b7e9939e6477f9d736a294d7360a052922da6
Author: coutinho <coutinho at esrf.fr>
Date:   Wed Apr 15 14:52:18 2015 +0200

    In gevent mode set the serialization model to NO_SYNC
---
 src/boost/python/server.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index b45a552..2a9203c 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -866,6 +866,7 @@ def __server_run(classes, args=None, msg_stream=sys.stdout, util=None,
         util = PyTango.Util(args)
 
     if gevent_mode:
+        util.set_serial_model(PyTango.SerialModel.NO_SYNC)
         worker = _create_gevent_worker()
         set_worker(worker)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list