diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-07-13 21:17:38 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-07-13 21:17:38 +0200 |
commit | 2c001280352cf5ae9257cafdacbc411cc8516f49 (patch) | |
tree | 63527fd86855ae30d8ef8e38f56e9023b72c0ee1 /development.ini | |
parent | 1e179b4cd6103f1a20757486edb0bad58025f8b6 (diff) |
Switch to waitress wsgi server by default in rhodecode.
- waitress is fast, handles chunked encoding correctly (needed for git)
- waitress works on linux and windows
- it's now default because it can handle git properly out of the box.
--HG--
branch : beta
Diffstat (limited to 'development.ini')
-rw-r--r-- | development.ini | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/development.ini b/development.ini index 0ab3b619..6b472ea9 100644 --- a/development.ini +++ b/development.ini @@ -30,15 +30,16 @@ pdebug = false [server:main] ##nr of threads to spawn -threadpool_workers = 5 +#threadpool_workers = 5 ##max request before thread respawn -threadpool_max_requests = 10 +#threadpool_max_requests = 10 ##option to use threads of process -use_threadpool = true +#use_threadpool = true -use = egg:Paste#http +#use = egg:Paste#http +use = egg:waitress#main host = 0.0.0.0 port = 5000 @@ -47,7 +48,7 @@ use = egg:rhodecode full_stack = true static_files = true # Optional Languages -# en, fr, pt_BR, zh_CN, zh_TW +# en, fr, ja, pt_BR, zh_CN, zh_TW lang = en cache_dir = %(here)s/data index_dir = %(here)s/data/index |