forked from LBRYCommunity/lbry-sdk
clean blobs after waiting interval instead of immediately on startup
This commit is contained in:
parent
bbf1ef0dc3
commit
4614c7d4c2
1 changed files with 1 additions and 1 deletions
|
@ -50,8 +50,8 @@ class DiskSpaceManager:
|
|||
|
||||
async def cleaning_loop(self):
|
||||
while self.running:
|
||||
await asyncio.get_event_loop().run_in_executor(None, self.clean)
|
||||
await asyncio.sleep(self.cleaning_interval)
|
||||
await asyncio.get_event_loop().run_in_executor(None, self.clean)
|
||||
|
||||
async def start(self):
|
||||
self.running = True
|
||||
|
|
Loading…
Reference in a new issue