Minimize downtime to 1 sec
@@ -51,7 +51,7 @@ class DockerSupervisor(DockerInterface):
_LOGGER.info("Update supervisor docker to %s:%s", self.image, tag)
if await self.loop.run_in_executor(None, self._install, tag):
- self.loop.call_later(2, self.loop.stop)
+ self.loop.call_later(1, self.loop.stop)
return True
return False
