From d51d1077c49ae84ada1e8687df54c6e3421b1344 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Wed, 24 Apr 2024 14:41:15 +0200 Subject: [PATCH] New Super Rate Limiting Feature Closes: #568 Add new super rate limiting test for Applebot as our rate limiting subject All tests pass New feature will not affect existing installations --- dev-tools/test-blocker-rate-limiting.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-tools/test-blocker-rate-limiting.sh b/dev-tools/test-blocker-rate-limiting.sh index d67a7d4fc..040f6b581 100755 --- a/dev-tools/test-blocker-rate-limiting.sh +++ b/dev-tools/test-blocker-rate-limiting.sh @@ -77,7 +77,7 @@ printf "\n" sleep 10s } -ratelimitGoogle () { +ratelimitGoogle_superratelimitAppleBot () { echo "${bold}${yellow}-----------------------------" echo "${bold}${yellow}Making GoogleBot ${yellow}RATE LIMITED" echo "${bold}${yellow}-----------------------------" @@ -296,7 +296,7 @@ echo "${bold}${green}Starting Rate Limiting Test" echo "${bold}${green}---------------------------" printf "\n" -ratelimitGoogle +ratelimitGoogle_superratelimitAppleBot reloadNginX waitforReload testRateLimiting