From 627b8aa3bd8ec4ebff1d08ade3a6d17de8fa7bf1 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 6 Oct 2006 15:06:02 +0000 Subject: fix hash building on unknown 64-bit platform --- src/http/ngx_http_upstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_upstream.c') diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 2cdfdc8ba..7d259d098 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -2941,7 +2941,7 @@ ngx_http_upstream_init_main_conf(ngx_conf_t *cf, void *conf) hash.hash = &umcf->headers_in_hash; hash.key = ngx_hash_key_lc; hash.max_size = 512; - hash.bucket_size = ngx_cacheline_size; + hash.bucket_size = 64; hash.name = "upstream_headers_in_hash"; hash.pool = cf->pool; hash.temp_pool = NULL; -- cgit