From 6e62c628553e805f0bd3a1063d401d125ada589b Mon Sep 17 00:00:00 2001 From: nymkappa Date: Mon, 21 Feb 2022 18:01:09 +0900 Subject: [PATCH] Add /api/v1/mining/hashrate/* apis to the cache warmer --- production/nginx-cache-warmer | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/production/nginx-cache-warmer b/production/nginx-cache-warmer index e3ecf6c91..8c679980c 100755 --- a/production/nginx-cache-warmer +++ b/production/nginx-cache-warmer @@ -21,6 +21,12 @@ do for url in / \ '/api/v1/mining/pools/2y' \ '/api/v1/mining/pools/3y' \ '/api/v1/mining/pools/all' \ + '/api/v1/mining/hashrate/3m' \ + '/api/v1/mining/hashrate/6m' \ + '/api/v1/mining/hashrate/1y' \ + '/api/v1/mining/hashrate/2y' \ + '/api/v1/mining/hashrate/3y' \ + '/api/v1/mining/hashrate/all' \ do curl -s "https://${hostname}${url}" >/dev/null