Merge pull request #3398 from lbryio/clean_blobs_after_delay
clean blobs after waiting interval instead of immediately on startup
This commit is contained in:
commit
4c1d3ef514
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…
Add table
Reference in a new issue