diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-09 14:03:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-09 14:03:16 +0000 |
commit | aec57e2613f2fae3f952f2ca806d8e55ab4bf332 (patch) | |
tree | ec597afa78112894b640cb38cdd64017bedb07fb /src/http/modules/ngx_http_fastcgi_module.c | |
parent | 627b8aa3bd8ec4ebff1d08ade3a6d17de8fa7bf1 (diff) | |
download | nginx-aec57e2613f2fae3f952f2ca806d8e55ab4bf332.tar.gz nginx-aec57e2613f2fae3f952f2ca806d8e55ab4bf332.zip |
align hash bucket size to cache line
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index e4b7ba431..cce31010c 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1826,7 +1826,7 @@ ngx_http_fastcgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) hash.hash = &conf->upstream.hide_headers_hash; hash.key = ngx_hash_key_lc; hash.max_size = 512; - hash.bucket_size = 64; + hash.bucket_size = ngx_align(64, ngx_cacheline_size); hash.name = "fastcgi_hide_headers_hash"; hash.pool = cf->pool; hash.temp_pool = NULL; |