parent
601b741c4e
commit
5941f3937c
5 changed files with 2 additions and 22 deletions
|
@ -15,7 +15,7 @@ class GarbageCollectionWorker(Worker):
|
|||
def _garbage_collection_repos(self):
|
||||
""" Performs garbage collection on repositories. """
|
||||
with UseThenDisconnect(app.config):
|
||||
repository = find_repository_with_garbage(app.config.get('EXP_ASYNC_GARBAGE_COLLECTION', []))
|
||||
repository = find_repository_with_garbage()
|
||||
if repository is None:
|
||||
logger.debug('No repository with garbage found')
|
||||
return
|
||||
|
|
Reference in a new issue