Skip to content

Commit 66c93e7

Browse files
authored
Minimize downtime to 1 sec (#223)
1 parent 5674d32 commit 66c93e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hassio/dock/supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def update(self, tag):
5151
_LOGGER.info("Update supervisor docker to %s:%s", self.image, tag)
5252

5353
if await self.loop.run_in_executor(None, self._install, tag):
54-
self.loop.call_later(2, self.loop.stop)
54+
self.loop.call_later(1, self.loop.stop)
5555
return True
5656

5757
return False

0 commit comments

Comments
 (0)