Improve package scoring

This commit is contained in:
rubenwardy
2019-11-21 22:16:35 +00:00
committed by GitHub
parent 94426e97aa
commit 33b2b38308
6 changed files with 55 additions and 13 deletions

View File

@@ -69,6 +69,10 @@ CELERYBEAT_SCHEDULE = {
'topic_list_import': {
'task': 'app.tasks.forumtasks.importTopicList',
'schedule': crontab(minute=1, hour=1),
},
'package_score_update': {
'task': 'app.tasks.pkgtasks.updatePackageScores',
'schedule': crontab(minute=10, hour=1),
}
}
celery.conf.beat_schedule = CELERYBEAT_SCHEDULE