-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new API to get and set FPM config values
- Loading branch information
Showing
1 changed file
with
4 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
996cb0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice that we have API for this!
Later, we could use it to tweak
pm.max_spare_servers
depending on passedpm.max_children
value, to allow user values forpm.max_children
lower than5
. Do you think we should it?996cb0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep things simple - I suspect the majority of users don't need this level of fine-grained control over PHP subprocesses.
996cb0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All I wanted was a reasonable default!
996cb0e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Defaults are reasonably good now. Although, if a user starts changing
pm.max_children
option thenpm.max_spare_servers
should also be adjusted.