projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f28e49a
)
periodic tasks should not build up over time
fix-celery-queues
author
Bryan
<btbonval@gmail.com>
Mon, 29 Jun 2015 02:19:16 +0000
(22:19 -0400)
committer
Bryan
<btbonval@gmail.com>
Mon, 29 Jun 2015 02:19:16 +0000
(22:19 -0400)
karmaworld/settings/prod.py
patch
|
blob
|
history
diff --git
a/karmaworld/settings/prod.py
b/karmaworld/settings/prod.py
index 4329cdca6a9c1663f7f01f8d30af67d780109ee0..c82a008623620ccb0eff4946e0bc4e0584455989 100644
(file)
--- a/
karmaworld/settings/prod.py
+++ b/
karmaworld/settings/prod.py
@@
-88,14
+88,17
@@
CELERYBEAT_SCHEDULE = {
'tweet-about-notes': {
'task': 'tweet_note',
'schedule': timedelta(minutes=60),
+ 'options': {'expires': 3600},
},
'check-mturk-results': {
'task': 'get_extract_keywords_results',
'schedule': timedelta(minutes=20),
+ 'options': {'expires': 1200},
},
'update-scoreboard': {
'task': 'fix_note_counts',
'schedule': timedelta(days=1),
+ 'options': {'expires': 86400},
},
}