Increase garage timeout
This commit is contained in:
parent
d1a8769e07
commit
daf5808fad
|
@ -26,7 +26,7 @@ class GarageUpdater:
|
|||
self.persistGarageState('{"error": "halted"}')
|
||||
|
||||
def getGarageState(self):
|
||||
return requests.get(self.uri, timeout=3).text
|
||||
return requests.get(self.uri, timeout=6).text
|
||||
|
||||
def persistGarageState(self, state):
|
||||
with open(self.garageTempFile, 'w') as file:
|
||||
|
|
Loading…
Reference in New Issue