comparison limit_req.t @ 503:071e8941e3bf

Tests: reduce shared memory zone sizes.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 27 Nov 2014 07:39:55 +0300
parents 6a0d934950bc
children 2cd00179f4b2
comparison
equal deleted inserted replaced
502:134ea15d7473 503:071e8941e3bf
35 } 35 }
36 36
37 http { 37 http {
38 %%TEST_GLOBALS_HTTP%% 38 %%TEST_GLOBALS_HTTP%%
39 39
40 limit_req_zone $binary_remote_addr zone=one:10m rate=2r/s; 40 limit_req_zone $binary_remote_addr zone=one:1m rate=2r/s;
41 limit_req_zone $binary_remote_addr zone=long:10m rate=2r/s; 41 limit_req_zone $binary_remote_addr zone=long:1m rate=2r/s;
42 limit_req_zone $binary_remote_addr zone=fast:10m rate=1000r/s; 42 limit_req_zone $binary_remote_addr zone=fast:1m rate=1000r/s;
43 43
44 server { 44 server {
45 listen 127.0.0.1:8080; 45 listen 127.0.0.1:8080;
46 server_name localhost; 46 server_name localhost;
47 location / { 47 location / {