Increase garage timeout

This commit is contained in:
Mike Cifelli 2022-12-30 15:19:28 -05:00
parent d1a8769e07
commit daf5808fad
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class GarageUpdater:
self.persistGarageState('{"error": "halted"}') self.persistGarageState('{"error": "halted"}')
def getGarageState(self): def getGarageState(self):
return requests.get(self.uri, timeout=3).text return requests.get(self.uri, timeout=6).text
def persistGarageState(self, state): def persistGarageState(self, state):
with open(self.garageTempFile, 'w') as file: with open(self.garageTempFile, 'w') as file: