Slightly strickter limmiting
This commit is contained in:
parent
8571f6924c
commit
2b769f64d0
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class ThrottleMiddleware implements HttpKernelInterface
|
|||
$limit_requests = false;
|
||||
} else {
|
||||
// limited throttling for non-users (at ip level)
|
||||
$tokens = 15; // max nr of tokens (also start amount)
|
||||
$tokens = 10; // max nr of tokens (also start amount)
|
||||
$rate = 0.5; // tokens per seconds
|
||||
$name = 'ip_' . $request->getClientIp();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue