Skip to content
New issue

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

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

Already on GitHub? # to your account

Doc tweaks - min/max_spare_servers and some typo fixes & rewording #41

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bigpresh
Copy link

@bigpresh bigpresh commented Feb 3, 2012

The min_spare_servers, max_spare_servers, max_servers options weren't clearly documented, I had to look at the code to find out how to let Starman dynamically start more workers to handle the current load (within defined limits).

I've added these to the documentation in bin/starman, and also fixed some typos and improved the clarity of some parts while I was there :)

These weren't clearly documented before, in my opinion; i had to delve into the
code to find out how to allow the number of worker processes to adapt to the
load, rather than being fixed.
I think this reads ever so slightly more naturally, although both forms are
considered correct.
bin/starman Outdated
@@ -37,6 +37,7 @@ starman - Starman launcher

starman --listen :5001 --listen /tmp/starman.sock
starman --workers 32 --port 8080
starman --min_spare_severs 2 --max_spare_servers 4 --max_servers 10
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use - and plack handler automatically converts to _. i.e. starman --min-spare-servers 2 ... I prefer the use of -.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, made that change.... slightly slow response there, I must admit ;)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants