From 4236077c67ad4a5cd0fc42fbb1814116458b8bb4 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sat, 14 Mar 2015 04:07:32 +0100 Subject: [PATCH] cleanup --- examples/deploy/celery_app.sh | 1 - examples/sandbox/settings.py | 4 ++-- setup.py | 3 ++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/deploy/celery_app.sh b/examples/deploy/celery_app.sh index 6ffe3ed..44a896e 100644 --- a/examples/deploy/celery_app.sh +++ b/examples/deploy/celery_app.sh @@ -9,5 +9,4 @@ pip install django-celery python $manage migrate --noinput -# run Celery worker for our project myproject with Celery configuration stored in Celeryconf $manage celery worker -A celery_app diff --git a/examples/sandbox/settings.py b/examples/sandbox/settings.py index a6ee4f4..56f59ce 100644 --- a/examples/sandbox/settings.py +++ b/examples/sandbox/settings.py @@ -23,7 +23,7 @@ DATABASES = { 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. 'PORT': '', # Set to empty string for default. Not used with sqlite3. 'OPTIONS': { - 'timeout': 20, + 'timeout': 60, } } } @@ -183,4 +183,4 @@ CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend' CELERY_TASK_SERIALIZER = "json" CELERY_ACCEPT_CONTENT = ['application/json'] -from celery_app import app \ No newline at end of file +from celery_app import app diff --git a/setup.py b/setup.py index d58e63e..4847c79 100755 --- a/setup.py +++ b/setup.py @@ -61,7 +61,8 @@ setup( 'south', 'traits', 'networkx', - 'django-gearman', + 'django-celery', + 'watchdog', ], platforms=['OS Independent'], license='Gnu Public License V2', -- 2.39.5