ops: Set cache time for /api/v1 endpoints to 2 sec

This commit is contained in:
wiz 2023-06-16 17:15:31 -07:00
parent d0e7ae973a
commit 0ea410ef5d

View File

@ -97,10 +97,10 @@ location @mempool-api-v1-cache-normal {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache api;
proxy_cache_valid 200 10s;
proxy_cache_valid 200 2s;
proxy_redirect off;
expires 10s;
expires 2s;
}
location @mempool-api-v1-cache-disabled {