Skip to content

Commit

Permalink
Raising time limit on analytics cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelclay committed Nov 28, 2015
1 parent d1cb934 commit 4f58d34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/reader/tasks.py
Expand Up @@ -34,7 +34,7 @@ def run(self, **kwargs):

class CleanAnalytics(Task):
name = 'clean-analytics'
timeout = 720*10
hard = 720*10

def run(self, **kwargs):
logging.debug(" ---> Cleaning analytics... %s feed fetches" % (
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Expand Up @@ -438,7 +438,7 @@
'clean-analytics': {
'task': 'clean-analytics',
'schedule': datetime.timedelta(hours=12),
'options': {'queue': 'beat_tasks'},
'options': {'queue': 'beat_tasks', 'timeout': 720*10},
},
'clean-spam': {
'task': 'clean-spam',
Expand Down

0 comments on commit 4f58d34

Please sign in to comment.