# HG changeset patch # User Sergey Kandaurov # Date 1395859822 -14400 # Node ID 1b205a3332dea3718f51f48cfdf1dc37df3914ad # Parent 0d9aaa1c01ea0764704772264db484691cb20b8f 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. diff --git a/limit_conn.t b/limit_conn.t --- a/limit_conn.t +++ b/limit_conn.t @@ -39,7 +39,7 @@ events { http { %%TEST_GLOBALS_HTTP%% - limit_req_zone $binary_remote_addr zone=req:1m rate=1r/m; + limit_req_zone $binary_remote_addr zone=req:1m rate=30r/m; limit_conn_zone $binary_remote_addr zone=zone:1m; limit_conn_zone $binary_remote_addr zone=zone2:1m;