Slightly strickter limmiting

This commit is contained in:
Ruben 2016-10-05 21:53:44 +02:00
parent 8571f6924c
commit 2b769f64d0

View file

@ -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();
}