# HG changeset patch # User Sergey Kandaurov # Date 1544437647 -10800 # Node ID aaaa8a40250b6f5696a6c8c04ed19ffffbdf58f0 # Parent a8243ed8adcb15ff18ec1b0d9894636ac42a1a2b Tests: adjusted proxy_cache_use_stale.t for slow hosts. The request processing which updates proxy cache could be delayed for too little time before a subsequent request would be started processing, such that the resulting cache status will be HIT instead of expected UPDATING. diff --git a/proxy_cache_use_stale.t b/proxy_cache_use_stale.t --- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -39,7 +39,7 @@ http { proxy_cache_path %%TESTDIR%%/cache levels=1:2 keys_zone=NAME:1m; - limit_req_zone $binary_remote_addr zone=one:1m rate=15r/m; + limit_req_zone $binary_remote_addr zone=one:1m rate=10r/m; server { listen 127.0.0.1:8080;