]> git.parisson.com Git - timeside.git/commitdiff
cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Sat, 14 Mar 2015 03:07:32 +0000 (04:07 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Sat, 14 Mar 2015 03:07:32 +0000 (04:07 +0100)
examples/deploy/celery_app.sh
examples/sandbox/settings.py
setup.py

index 6ffe3edcac710698066e1c953a61cf6326099012..44a896e0415bf35e1f58797c273658b9f955e5e0 100644 (file)
@@ -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
index a6ee4f4449343962658b971051a4bda60c311dad..56f59ceef0147da8dba9d89aaac61c425bb447cb 100644 (file)
@@ -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
index d58e63ed99bc1fa51133ebe89dbe388a97ce7a43..4847c79fc0112e6d75b67a4f253b2b4fb7ddc0ac 100755 (executable)
--- 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',