Cleanup empty block in api response - Update cache warmer

This commit is contained in:
nymkappa committed 2022-03-08 20:46:19 +01:00
1 parent 2b5d972e8d
commit f23f7f1cfa
5 files changed
+29 -25

No files matched your search

+8
View File
@@ -38,5 +38,13 @@ do for url in / \
curl -s "https://${hostname}${url}" >/dev/null
done
counter=1
while [ $counter -le 134 ]
do
curl -s "https://${hostname}/api/v1/mining/pool/${counter}/hashrate" >/dev/null
curl -s "https://${hostname}/api/v1/mining/pool/${counter}" >/dev/null
((counter++))
done
sleep 10
done