Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PremyslCerny committed Nov 7, 2023
1 parent 6e00e5e commit 511fdff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions asab/library/providers/libsreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

0 comments on commit 511fdff

Please sign in to comment.