comparison limit_conn_complex.t @ 792:47139a1ce06e

Tests: adjusted limit_req rate values in limit_conn_complex.t. A request may not be delayed with a previously used configuration on slow host.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Dec 2015 14:04:41 +0300
parents e5b1495299bd
children 64abcc611242
comparison
equal deleted inserted replaced
791:2f292082c8a0 792:47139a1ce06e
37 } 37 }
38 38
39 http { 39 http {
40 %%TEST_GLOBALS_HTTP%% 40 %%TEST_GLOBALS_HTTP%%
41 41
42 limit_req_zone $binary_remote_addr$arg_r zone=req:1m rate=1r/s; 42 limit_req_zone $binary_remote_addr$arg_r zone=req:1m rate=30r/m;
43 limit_req_zone $binary_remote_addr zone=re2:1m rate=1r/s; 43 limit_req_zone $binary_remote_addr zone=re2:1m rate=30r/m;
44 limit_conn_zone $binary_remote_addr$arg_c zone=conn:1m; 44 limit_conn_zone $binary_remote_addr$arg_c zone=conn:1m;
45 45
46 server { 46 server {
47 listen 127.0.0.1:8080; 47 listen 127.0.0.1:8080;
48 server_name localhost; 48 server_name localhost;