]> git.kaiwu.me - nginx.git/commitdiff
Increased default value of variables_hash_max_size.
authorAndrei Belov <defan@nginx.com>
Tue, 25 Mar 2014 14:49:28 +0000 (18:49 +0400)
committerAndrei Belov <defan@nginx.com>
Tue, 25 Mar 2014 14:49:28 +0000 (18:49 +0400)
src/http/ngx_http_core_module.c

index e6086378864df6f35143478e32ce088076dec549..ac83f58b69f5bfe6ad76fa6779148fadec9f44d7 100644 (file)
@@ -3440,7 +3440,7 @@ ngx_http_core_init_main_conf(ngx_conf_t *cf, void *conf)
             ngx_align(cmcf->server_names_hash_bucket_size, ngx_cacheline_size);
 
 
-    ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 512);
+    ngx_conf_init_uint_value(cmcf->variables_hash_max_size, 1024);
     ngx_conf_init_uint_value(cmcf->variables_hash_bucket_size, 64);
 
     cmcf->variables_hash_bucket_size =