Mercurial > hg > nginx-tests
diff limit-req.t @ 137:59021f2b2fd3
Tests: fix limit_req test to avoid timeouts.
In 0.8.38 delay finally honors rate correctly, and we don't want to wait
60 seconds.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 31 May 2010 19:41:36 +0400 |
parents | 8ac1faaddd2c |
children |
line wrap: on
line diff
--- a/limit-req.t +++ b/limit-req.t @@ -37,7 +37,7 @@ http { %%TEST_GLOBALS_HTTP%% limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; - limit_req_zone $binary_remote_addr zone=long:10m rate=1r/m; + limit_req_zone $binary_remote_addr zone=long:10m rate=1r/s; limit_req_zone $binary_remote_addr zone=fast:10m rate=1000r/s; server {