From d70e183236b2995b685fce70101be0fe101ba9b9 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Wed, 30 Mar 2022 19:52:06 +0900 Subject: [PATCH] Add missing endpoints to cache warmer --- production/nginx-cache-warmer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/production/nginx-cache-warmer b/production/nginx-cache-warmer index 7aa055778..1720c3604 100755 --- a/production/nginx-cache-warmer +++ b/production/nginx-cache-warmer @@ -36,6 +36,7 @@ do for url in / \ '/api/v1/mining/hashrate/pools/3y' \ '/api/v1/mining/hashrate/pools/all' \ '/api/v1/mining/reward-stats/144' \ + '/api/v1/mining/blocks-extras' \ do curl -s "https://${hostname}${url}" >/dev/null @@ -43,8 +44,9 @@ do for url in / \ for slug in $slugs do - curl -s "https://${hostname}/api/v1/mining/pool/${slug}/hashrate" >/dev/null curl -s "https://${hostname}/api/v1/mining/pool/${slug}" >/dev/null + curl -s "https://${hostname}/api/v1/mining/pool/${slug}/hashrate" >/dev/null + curl -s "https://${hostname}/api/v1/mining/pool/${slug}/blocks" >/dev/null done sleep 10