comparison src/http/ngx_http_core_module.c @ 5623:d0e75244a18a

Increased default value of variables_hash_max_size.
author Andrei Belov <defan@nginx.com>
date Tue, 25 Mar 2014 18:49:28 +0400
parents 68c6cc832c76
children 5a65b9d8bc2b
comparison
equal deleted inserted replaced
5622:a23c35496c2f 5623:d0e75244a18a
3438 3438
3439 cmcf->server_names_hash_bucket_size = 3439 cmcf->server_names_hash_bucket_size =
3440 ngx_align(cmcf->server_names_hash_bucket_size, ngx_cacheline_size); 3440 ngx_align(cmcf->server_names_hash_bucket_size, ngx_cacheline_size);
3441 3441
3442 3442
3443 ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 512); 3443 ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 1024);
3444 ngx_conf_init_uint_value(cmcf->variables_hash_bucket_size, 64); 3444 ngx_conf_init_uint_value(cmcf->variables_hash_bucket_size, 64);
3445 3445
3446 cmcf->variables_hash_bucket_size = 3446 cmcf->variables_hash_bucket_size =
3447 ngx_align(cmcf->variables_hash_bucket_size, ngx_cacheline_size); 3447 ngx_align(cmcf->variables_hash_bucket_size, ngx_cacheline_size);
3448 3448