diff --git a/production/nginx-cache-warmer b/production/nginx-cache-warmer index 27d1e3a8f..db025a137 100755 --- a/production/nginx-cache-warmer +++ b/production/nginx-cache-warmer @@ -120,14 +120,16 @@ do for url in / \ do warm "https://${hostname}${url}" + sleep 0.25 # wait 250ms between queries to not DoS mariadb done for slug in $slugs do warm "https://${hostname}/api/v1/mining/pool/${slug}" + sleep 0.25 # wait 250ms between queries to not DoS mariadb warm "https://${hostname}/api/v1/mining/pool/${slug}/hashrate" + sleep 0.25 # wait 250ms between queries to not DoS mariadb warm "https://${hostname}/api/v1/mining/pool/${slug}/blocks" + sleep 0.25 # wait 250ms between queries to not DoS mariadb done - - sleep 10 done