bumped api crash timeout again
This commit is contained in:
parent
ba7de585f5
commit
1daf410f8b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user