[nginx] Increased default value of variables_hash_max_size.

Andrei Belov defan at nginx.com
Tue Mar 25 15:03:30 UTC 2014


details:   http://hg.nginx.org/nginx/rev/d0e75244a18a
branches:  
changeset: 5623:d0e75244a18a
user:      Andrei Belov <defan at nginx.com>
date:      Tue Mar 25 18:49:28 2014 +0400
description:
Increased default value of variables_hash_max_size.

diffstat:

 src/http/ngx_http_core_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a23c35496c2f -r d0e75244a18a src/http/ngx_http_core_module.c
--- a/src/http/ngx_http_core_module.c	Mon Mar 24 17:55:10 2014 +0400
+++ b/src/http/ngx_http_core_module.c	Tue Mar 25 18:49:28 2014 +0400
@@ -3440,7 +3440,7 @@ ngx_http_core_init_main_conf(ngx_conf_t 
             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 =



More information about the nginx-devel mailing list