From 84e36a13e9e2daaa39e6c752b49bd59bdde01e9f Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 18 Dec 2017 22:58:31 +0100 Subject: [PATCH] Force exit on pusher response timeout --- platypush/pusher/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/pusher/__init__.py b/platypush/pusher/__init__.py index b4993b8909..a0c45b1842 100755 --- a/platypush/pusher/__init__.py +++ b/platypush/pusher/__init__.py @@ -17,6 +17,7 @@ def pusher(target, action, backend=None, config=None, def on_timeout(signum, frame): raise RuntimeError('Response timed out after {} seconds'.format( timeout)) + os._exit(0) Config.init(config)