workers.queuecleanup: s/week/day cleanup frequency

This commit is contained in:
Jimmy Zelinskie 2016-10-20 13:47:07 -04:00
parent 20ef43d5fb
commit 2bd1e76267

View file

@ -10,7 +10,8 @@ from workers.worker import Worker
logger = logging.getLogger(__name__)
DELETION_DATE_THRESHOLD = timedelta(days=7)
DELETION_DATE_THRESHOLD = timedelta(days=1)
DELETION_COUNT_THRESHOLD = 50
BATCH_SIZE = 500
QUEUE_CLEANUP_FREQUENCY = app.config.get('QUEUE_CLEANUP_FREQUENCY', 60*60*24)