mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Add missing endpoints to cache warmer
This commit is contained in:
parent
796db0de4b
commit
d70e183236
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue