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
This commit is contained in:
Mitchell Krog 2024-04-24 14:41:15 +02:00 committed by GitHub
parent 98b424a2fa
commit d51d1077c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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