disable ratelimiting by default
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ class config{
|
|||||||
|
|
||||||
// Amount of requests allowed before we block
|
// Amount of requests allowed before we block
|
||||||
// Set to 0 to disable ratelimiting
|
// 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,
|
// IP source for ratelimiting. Choices: false for getting the IP directly,
|
||||||
// or "X-Header-Name" to get the IP from a forwarded header
|
// or "X-Header-Name" to get the IP from a forwarded header
|
||||||
|
|||||||
Reference in New Issue
Block a user