From 1daf410f8b8342fd10f75245601bff5cfc9d9619 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 17 Jun 2019 15:51:00 -0500 Subject: [PATCH] bumped api crash timeout again --- onionr/communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index b245b4de..acd749f0 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -364,7 +364,7 @@ class OnionrCommunicatorDaemon: def detectAPICrash(self): '''exit if the api server crashes/stops''' if self._core._utils.localCommand('ping', silent=False) not in ('pong', 'pong!'): - for i in range(20): + for i in range(300): if self._core._utils.localCommand('ping') in ('pong', 'pong!') or self.shutdown: break # break for loop time.sleep(1)