Enable async GC for all

Fixes #569
This commit is contained in:
Joseph Schorr 2015-10-19 14:22:41 -04:00
parent 601b741c4e
commit 5941f3937c
5 changed files with 2 additions and 22 deletions

View file

@ -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