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:
Ivaylo Novakov 2021-05-10 16:13:02 +02:00 committed by GitHub
commit 0dbd98e572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;