From 0e9d71512e08de89c0caeceb3be0009c836c6d2a Mon Sep 17 00:00:00 2001 From: rscnt Date: Thu, 28 May 2015 02:30:14 -0600 Subject: [PATCH] configs: replaced gevent with meinheld. Signed-off-by: rscnt --- configs/circus.dynamicweb.ini.example | 4 +++- requirements.txt | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configs/circus.dynamicweb.ini.example b/configs/circus.dynamicweb.ini.example index 7daf8531..3167a3d4 100644 --- a/configs/circus.dynamicweb.ini.example +++ b/configs/circus.dynamicweb.ini.example @@ -3,14 +3,16 @@ check_delay = 5 endpoint = tcp://127.0.0.1:5555 pubsub_endpoint = tcp://127.0.0.1:5556 stats_endpoint = tcp://127.0.0.1:5557 +copy_env = True [socket:dynamicweb] host = 127.0.0.1 port = 8080 [watcher:dynamicweb] -cmd = /home/r/.virtualenvs/dynamicweb/bin/chaussette --backend gevent --fd $(circus.sockets.dynamicweb) dynamicweb.wsgi.application +cmd = /home/r/.virtualenvs/dynamicweb/bin/chaussette --backend meinheld --fd $(circus.sockets.dynamicweb) dynamicweb.wsgi.application use_sockets = True +copy_env = True numprocesses = 5 [env:dynamicweb] diff --git a/requirements.txt b/requirements.txt index 3998cb60..4f74483c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -45,8 +45,7 @@ djangocms-table cmsplugin-filer==0.10.1 # production -greenlet circus circus-web chaussette -gevent +meinheld