Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing bottle to accept options for cherrypy server like numofthreads ... #544

Merged
merged 1 commit into from Aug 25, 2013
Merged

Changing bottle to accept options for cherrypy server like numofthreads ... #544

merged 1 commit into from Aug 25, 2013

Conversation

pdoguparty-ecofactor
Copy link
Contributor

Changing bottle run to accept options for cherrypy server like numofthreads and other options that are needed for cherrypy wsgiserver configuration.

For example in the example below i am specifying the number of threads to be created at startup by cherrypy as a options dictionary.

run( APP, host = CONFIG.get( webserver, hostname ), port = CONFIG.get( webserver, port ),
server = cherrypy, debug = CONFIG.get( webserver, debug ), options = {numthreads:30} )

…ds etc and pass it along with cherrypy

in this form run( APP, host = CONFIG.get( webserver, hostname ), port = CONFIG.get( webserver, port ),
         server = cherrypy, debug = CONFIG.get( webserver, debug ), options = {numthreads:30} )
defnull added a commit that referenced this pull request Aug 25, 2013
Changing bottle to accept options for cherrypy server like numofthreads ...
@defnull defnull merged commit 0276dc9 into bottlepy:master Aug 25, 2013
defnull added a commit that referenced this pull request Aug 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants