Sfoglia il codice sorgente

disable ratelimiting by default

lolcat 1 mese fa
parent
commit
ca1c804eba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      data/config.php

+ 1 - 1
data/config.php

@@ -49,7 +49,7 @@ class config{
 	
 	// Amount of requests allowed before we block
 	// Set to 0 to disable ratelimiting
-	const RATELIMIT_BURST = 2;
+	const RATELIMIT_BURST = 0;
 	
 	// IP source for ratelimiting. Choices: false for getting the IP directly,
 	// or "X-Header-Name" to get the IP from a forwarded header