Force exit on pusher response timeout
This commit is contained in:
parent
8ea943ffe1
commit
84e36a13e9
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ def pusher(target, action, backend=None, config=None,
|
||||||
def on_timeout(signum, frame):
|
def on_timeout(signum, frame):
|
||||||
raise RuntimeError('Response timed out after {} seconds'.format(
|
raise RuntimeError('Response timed out after {} seconds'.format(
|
||||||
timeout))
|
timeout))
|
||||||
|
os._exit(0)
|
||||||
|
|
||||||
Config.init(config)
|
Config.init(config)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue