comparison limit_conn.t @ 386:1b205a3332de

Tests: adjusted limit_req rate value. This shortens excessive test execution time due to unnecessarily delayed backend connection after client connection close, which is usually observed when the client connection is closed before the request is proxied to backend.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 26 Mar 2014 22:50:22 +0400
parents 68b94b83412b
children 60888e2c3f5a
comparison
equal deleted inserted replaced
385:0d9aaa1c01ea 386:1b205a3332de
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 zone=req:1m rate=1r/m; 42 limit_req_zone $binary_remote_addr zone=req:1m rate=30r/m;
43 43
44 limit_conn_zone $binary_remote_addr zone=zone:1m; 44 limit_conn_zone $binary_remote_addr zone=zone:1m;
45 limit_conn_zone $binary_remote_addr zone=zone2:1m; 45 limit_conn_zone $binary_remote_addr zone=zone2:1m;
46 limit_conn_zone $binary_remote_addr zone=custom:1m; 46 limit_conn_zone $binary_remote_addr zone=custom:1m;
47 limit_zone legacy $binary_remote_addr 1m; 47 limit_zone legacy $binary_remote_addr 1m;