Merge pull request #727 from SkynetLabs/update-stats-cache
decrease cache time on /skynet/stats from 10 minutes to 1 minute
This commit is contained in:
commit
0dbd98e572
|
@ -147,7 +147,7 @@ server {
|
|||
}
|
||||
|
||||
proxy_cache skynet;
|
||||
proxy_cache_valid any 10m; # cache stats for 10 minutes
|
||||
proxy_cache_valid any 1m; # cache stats for 1 minute
|
||||
proxy_set_header User-Agent: Sia-Agent;
|
||||
proxy_read_timeout 5m; # extend the read timeout
|
||||
proxy_pass http://siad/skynet/stats;
|
||||
|
|
Reference in New Issue