bumped api crash timeout again

master
Kevin Froman 2019-06-17 15:51:00 -05:00
parent ba7de585f5
commit 1daf410f8b
1 changed files with 1 additions and 1 deletions

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)