mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* When mod_http2 is loaded more then ThreadsPerChild backend connections can
be useful as mod_http2 has an additional thread pool on top of ThreadsPerChild. But leave the default with ThreadsPerChild. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1822849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1841,8 +1841,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, ser
|
|||||||
|
|
||||||
ap_mpm_query(AP_MPMQ_MAX_THREADS, &mpm_threads);
|
ap_mpm_query(AP_MPMQ_MAX_THREADS, &mpm_threads);
|
||||||
if (mpm_threads > 1) {
|
if (mpm_threads > 1) {
|
||||||
/* Set hard max to no more then mpm_threads */
|
if (worker->s->hmax == 0) {
|
||||||
if (worker->s->hmax == 0 || worker->s->hmax > mpm_threads) {
|
|
||||||
worker->s->hmax = mpm_threads;
|
worker->s->hmax = mpm_threads;
|
||||||
}
|
}
|
||||||
if (worker->s->smax == -1 || worker->s->smax > worker->s->hmax) {
|
if (worker->s->smax == -1 || worker->s->smax > worker->s->hmax) {
|
||||||
|
Reference in New Issue
Block a user