diff --git a/bootstrap/playbooks/celery.yaml b/bootstrap/playbooks/celery.yaml index 66b3a860..f02da327 100644 --- a/bootstrap/playbooks/celery.yaml +++ b/bootstrap/playbooks/celery.yaml @@ -15,7 +15,7 @@ - shell: celery multi stopwait 2 -A solar.orchestration.runner chdir={{ celery_dir }} tags: [stop] - - shell: celery multi start 2 -A solar.orchestration.runner -P gevent -c:2 1000 -c:1 1 -Q:1 scheduler,system_log -Q:2 celery,{{ hostname.stdout }} + - shell: celery multi start 2 -A solar.orchestration.runner -P:2 prefork -c:1 1 -c:2 3 -Q:1 scheduler,system_log -Q:2 celery,{{ hostname.stdout }} chdir={{ celery_dir }} tags: [master] diff --git a/docker-compose.yml b/docker-compose.yml index 4d499301..cc70bdad 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ solar-celery: - /vagrant/resources:/vagrant/resources - /vagrant/library:/vagrant/library - ~/.ssh/known_hosts:/root/.ssh/known_hosts + - ./bootstrap/playbooks/celery.yaml:/celery.yaml environment: - REDIS_HOST=redis - REDIS_PORT=6379 diff --git a/requirements.txt b/requirements.txt index e4b2c596..f24d026d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,6 @@ pbr pydot bunch wrapt -gevent # if you want to use riak backend then riak # if you want to use sql backend then