Nginx: minor improve

This commit is contained in:
chaizhenhua
2013-04-17 11:11:43 +08:00
parent 9b13d245e7
commit fd2c30fa23
2 changed files with 8 additions and 3 deletions

View File

@@ -196,7 +196,7 @@ ngx_pool_context_init_conf(ngx_cycle_t *cycle, void *conf)
{
ngx_pool_context_conf_t *pcf = conf;
ngx_conf_init_uint_value(pcf->size, NGX_POOL_CTX_SIZE);
ngx_conf_init_uint_value(pcf->size, cycle->connection_n);
ngx_pool_context_hash_size = pcf->size;