Mercurial > hg > nginx-tests
changeset 503:071e8941e3bf
Tests: reduce shared memory zone sizes.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 27 Nov 2014 07:39:55 +0300 |
parents | 134ea15d7473 |
children | 318f305a2014 |
files | error_log.t fastcgi_cache.t fastcgi_merge_params.t fastcgi_merge_params2.t limit_req.t proxy_cache.t proxy_cache_chunked.t proxy_cache_lock.t proxy_cache_lock_age.t proxy_merge_headers.t scgi_merge_params.t spdy.t ssi.t ssl.t syslog.t |
diffstat | 15 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/error_log.t Thu Nov 27 07:00:10 2014 +0300 +++ b/error_log.t Thu Nov 27 07:39:55 2014 +0300 @@ -38,7 +38,7 @@ http { %%TEST_GLOBALS_HTTP%% - limit_req_zone $binary_remote_addr zone=one:10m rate=1r/m; + limit_req_zone $binary_remote_addr zone=one:1m rate=1r/m; limit_req zone=one; server {
--- a/fastcgi_cache.t Thu Nov 27 07:00:10 2014 +0300 +++ b/fastcgi_cache.t Thu Nov 27 07:39:55 2014 +0300 @@ -39,7 +39,7 @@ %%TEST_GLOBALS_HTTP%% fastcgi_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/fastcgi_merge_params.t Thu Nov 27 07:00:10 2014 +0300 +++ b/fastcgi_merge_params.t Thu Nov 27 07:39:55 2014 +0300 @@ -39,7 +39,7 @@ %%TEST_GLOBALS_HTTP%% fastcgi_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; fastcgi_cache_key stub;
--- a/fastcgi_merge_params2.t Thu Nov 27 07:00:10 2014 +0300 +++ b/fastcgi_merge_params2.t Thu Nov 27 07:39:55 2014 +0300 @@ -39,7 +39,7 @@ %%TEST_GLOBALS_HTTP%% fastcgi_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; fastcgi_cache_key stub;
--- a/limit_req.t Thu Nov 27 07:00:10 2014 +0300 +++ b/limit_req.t Thu Nov 27 07:39:55 2014 +0300 @@ -37,9 +37,9 @@ http { %%TEST_GLOBALS_HTTP%% - limit_req_zone $binary_remote_addr zone=one:10m rate=2r/s; - limit_req_zone $binary_remote_addr zone=long:10m rate=2r/s; - limit_req_zone $binary_remote_addr zone=fast:10m rate=1000r/s; + limit_req_zone $binary_remote_addr zone=one:1m rate=2r/s; + limit_req_zone $binary_remote_addr zone=long:1m rate=2r/s; + limit_req_zone $binary_remote_addr zone=fast:1m rate=1000r/s; server { listen 127.0.0.1:8080;
--- a/proxy_cache.t Thu Nov 27 07:00:10 2014 +0300 +++ b/proxy_cache.t Thu Nov 27 07:39:55 2014 +0300 @@ -37,7 +37,7 @@ %%TEST_GLOBALS_HTTP%% proxy_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/proxy_cache_chunked.t Thu Nov 27 07:00:10 2014 +0300 +++ b/proxy_cache_chunked.t Thu Nov 27 07:39:55 2014 +0300 @@ -40,7 +40,7 @@ http { %%TEST_GLOBALS_HTTP%% - proxy_cache_path %%TESTDIR%%/cache keys_zone=NAME:10m; + proxy_cache_path %%TESTDIR%%/cache keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/proxy_cache_lock.t Thu Nov 27 07:00:10 2014 +0300 +++ b/proxy_cache_lock.t Thu Nov 27 07:39:55 2014 +0300 @@ -37,7 +37,7 @@ %%TEST_GLOBALS_HTTP%% proxy_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/proxy_cache_lock_age.t Thu Nov 27 07:00:10 2014 +0300 +++ b/proxy_cache_lock_age.t Thu Nov 27 07:39:55 2014 +0300 @@ -40,7 +40,7 @@ %%TEST_GLOBALS_HTTP%% proxy_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/proxy_merge_headers.t Thu Nov 27 07:00:10 2014 +0300 +++ b/proxy_merge_headers.t Thu Nov 27 07:39:55 2014 +0300 @@ -37,7 +37,7 @@ %%TEST_GLOBALS_HTTP%% proxy_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; proxy_set_header X-Blah "blah"; proxy_hide_header X-Hidden;
--- a/scgi_merge_params.t Thu Nov 27 07:00:10 2014 +0300 +++ b/scgi_merge_params.t Thu Nov 27 07:39:55 2014 +0300 @@ -39,7 +39,7 @@ %%TEST_GLOBALS_HTTP%% scgi_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; scgi_cache_key stub;
--- a/spdy.t Thu Nov 27 07:00:10 2014 +0300 +++ b/spdy.t Thu Nov 27 07:39:55 2014 +0300 @@ -50,7 +50,7 @@ http { %%TEST_GLOBALS_HTTP%% - proxy_cache_path %%TESTDIR%%/cache keys_zone=NAME:10m; + proxy_cache_path %%TESTDIR%%/cache keys_zone=NAME:1m; limit_conn_zone $binary_remote_addr zone=conn:1m; server {
--- a/ssi.t Thu Nov 27 07:00:10 2014 +0300 +++ b/ssi.t Thu Nov 27 07:39:55 2014 +0300 @@ -38,7 +38,7 @@ %%TEST_GLOBALS_HTTP%% proxy_cache_path %%TESTDIR%%/cache levels=1:2 - keys_zone=NAME:10m; + keys_zone=NAME:1m; server { listen 127.0.0.1:8080;
--- a/ssl.t Thu Nov 27 07:00:10 2014 +0300 +++ b/ssl.t Thu Nov 27 07:39:55 2014 +0300 @@ -49,7 +49,7 @@ ssl_certificate_key localhost.key; ssl_certificate localhost.crt; - ssl_session_cache shared:SSL:10m; + ssl_session_cache shared:SSL:1m; ssl_session_tickets off; location /reuse {
--- a/syslog.t Thu Nov 27 07:00:10 2014 +0300 +++ b/syslog.t Thu Nov 27 07:39:55 2014 +0300 @@ -43,7 +43,7 @@ http { %%TEST_GLOBALS_HTTP%% - limit_req_zone $binary_remote_addr zone=one:10m rate=1r/m; + limit_req_zone $binary_remote_addr zone=one:1m rate=1r/m; log_format empty ""; log_format logf "$uri:$status";