From 511854b7a8fe289603cb4475a39d713244846ebf Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Mon, 1 Aug 2016 18:48:06 +0300 Subject: Python3 support for Stateful daemon Python 3.5 support in ZMQ Verify ZMQ health in Stateful daemon Add get_trex_config() command to Stateful daemon Strip debug info on Python ZMQ .so files --- scripts/automation/trex_control_plane/server/singleton_daemon.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/automation/trex_control_plane/server/singleton_daemon.py') diff --git a/scripts/automation/trex_control_plane/server/singleton_daemon.py b/scripts/automation/trex_control_plane/server/singleton_daemon.py index 1784cc42..cd16d173 100755 --- a/scripts/automation/trex_control_plane/server/singleton_daemon.py +++ b/scripts/automation/trex_control_plane/server/singleton_daemon.py @@ -140,6 +140,7 @@ class SingletonDaemon(object): def restart(self, timeout = 15): if self.is_running(): self.kill(timeout) + sleep(0.5) return self.start(timeout) -- cgit 1.2.3-korg