bumped api crash timeout again

This commit is contained in:
Kevin Froman 2019-06-17 15:51:00 -05:00
parent ba7de585f5
commit 1daf410f8b

View File

@ -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)