mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Upstream keepalive: comment added.
This commit is contained in:
parent
1b1b632eed
commit
f3d1a925b5
@ -518,6 +518,8 @@ ngx_http_upstream_keepalive(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
|
|
||||||
kcf->max_cached = n;
|
kcf->max_cached = n;
|
||||||
|
|
||||||
|
/* init upstream handler */
|
||||||
|
|
||||||
uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
|
uscf = ngx_http_conf_get_module_srv_conf(cf, ngx_http_upstream_module);
|
||||||
|
|
||||||
kcf->original_init_upstream = uscf->peer.init_upstream
|
kcf->original_init_upstream = uscf->peer.init_upstream
|
||||||
|
Loading…
Reference in New Issue
Block a user