chore: increase request throttle max attempt value

This commit is contained in:
Phan An 2024-01-03 01:11:24 +01:00
parent 881ca574ae
commit 03a767f462

View file

@ -8,7 +8,7 @@ use Symfony\Component\HttpFoundation\Response;
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')) {
return parent::handle($request, $next, $maxAttempts, $decayMinutes, $prefix);