diff --git a/asab/library/providers/libsreg.py b/asab/library/providers/libsreg.py index 9578630f9..9adbe7cbd 100644 --- a/asab/library/providers/libsreg.py +++ b/asab/library/providers/libsreg.py @@ -83,6 +83,7 @@ async def _periodic_pull(self, event_name): """ Changes in remote repository are being pulled every minute. `PullLock` flag ensures that only if previous "pull" has finished, new one can start. """ + if self.PullLock: return @@ -156,6 +157,9 @@ async def _periodic_pull(self, event_name): finally: self.PullLock = False + # TODO: Hotfix + await self._set_ready() + async def subscribe(self, path): self.SubscribedPaths.add(path)