diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -139,15 +139,10 @@ sh: make dev-sh -.PHONY: dev-srv -## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash -dev-srv: - pserve --reload .dev/dev.ini - ## Allows changes of workers e.g make dev-srv-g workers=2 workers?=1 -.PHONY: dev-srv-g +.PHONY: dev-srv ## run gunicorn multi process workers dev-srv-g: gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers) diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -31,23 +31,6 @@ debug = true host = 127.0.0.1 port = 10020 -; ################################################## -; WAITRESS WSGI SERVER - Recommended for Development -; ################################################## - -; use server type -use = egg:waitress#main - -; number of worker threads -threads = 5 - -; MAX BODY SIZE 100GB -max_request_body_size = 107374182400 - -; Use poll instead of select, fixes file descriptors limits problems. -; May not work on old windows systems. -asyncore_use_poll = true - ; ########################### ; GUNICORN APPLICATION SERVER @@ -56,7 +39,7 @@ asyncore_use_poll = true ; run with gunicorn --paste rhodecode.ini --config gunicorn_conf.py ; Module to use, this setting shouldn't be changed -#use = egg:gunicorn#main +use = egg:gunicorn#main ; Prefix middleware for RhodeCode. ; recommended when using proxy setup.