Database patch

This commit is contained in:
Marek Wolan
2024-01-11 15:40:37 +00:00
parent ed5591caf8
commit 842e59f596
2 changed files with 8 additions and 2 deletions

View File

@@ -247,3 +247,8 @@ class DatabaseService(Service):
if timestep == 1:
self.backup_database()
return super().apply_timestep(timestep)
def _update_patch_status(self) -> None:
super()._update_patch_status()
if self._patching_countdown is None:
self.restore_backup()