Skip to content

Commit

Permalink
- Fix celery tasks hanging forever
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed May 14, 2018
1 parent 959219b commit 6c3b2b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ sudo: required

language: python

# AF: seems like causing stall on Travis build
# cache:
# directories:
# - $HOME/.cache/pip
#
# before_cache:
# - rm -f $HOME/.cache/pip/log/debug.log
cache:
directories:
- $HOME/.cache/pip

before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

python:
- "2.7"
Expand Down
5 changes: 2 additions & 3 deletions geonode/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@

def run_setup_hooks(*args, **kwargs):
from django.conf import settings
# from .celery_app import app as celery_app
from .celery_app import app as celery_app
if 'celery_app' not in settings.INSTALLED_APPS:
# settings.INSTALLED_APPS += (celery_app, )
settings.INSTALLED_APPS += ('celery_app', )
settings.INSTALLED_APPS += (celery_app, )


class AppConfig(BaseAppConfig):
Expand Down

0 comments on commit 6c3b2b9

Please sign in to comment.