Added limit_days filter to get notifications dao.

This commit is contained in:
Adam Shimali
2016-04-28 16:10:35 +01:00
parent 23bcb08fb2
commit 4e81695c84
5 changed files with 40 additions and 7 deletions

View File

@@ -52,12 +52,12 @@ class Config(object):
},
'delete-failed-notifications': {
'task': 'delete-failed-notifications',
'schedule': crontab(minute=0, hour=0),
'schedule': crontab(minute=0, hour='0,1,2'),
'options': {'queue': 'periodic'}
},
'delete-successful-notifications': {
'task': 'delete-successful-notifications',
'schedule': crontab(minute=0, hour=0),
'schedule': crontab(minute=0, hour='0,1,2'),
'options': {'queue': 'periodic'}
}
}