mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
chore: increase request throttle max attempt value
This commit is contained in:
parent
881ca574ae
commit
03a767f462
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
class ThrottleRequests extends BaseThrottleRequests
|
class ThrottleRequests extends BaseThrottleRequests
|
||||||
{
|
{
|
||||||
public function handle($request, Closure $next, $maxAttempts = 300, $decayMinutes = 1, $prefix = ''): Response
|
public function handle($request, Closure $next, $maxAttempts = 600, $decayMinutes = 1, $prefix = ''): Response
|
||||||
{
|
{
|
||||||
if (app()->environment('production')) {
|
if (app()->environment('production')) {
|
||||||
return parent::handle($request, $next, $maxAttempts, $decayMinutes, $prefix);
|
return parent::handle($request, $next, $maxAttempts, $decayMinutes, $prefix);
|
||||||
|
|
Loading…
Reference in a new issue