Skip to content

Commit

Permalink
Merge pull request #91 from fsr5-fhaachen/dev
Browse files Browse the repository at this point in the history
Hotfix rate limit
  • Loading branch information
PhilPinsdorf authored Nov 2, 2023
2 parents f9355dc + 548903a commit bc3b888
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ public function boot()
*/
protected function configureRateLimiting()
{
RateLimiter::for('api', function (Request $request) {
return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
});
// RateLimiter::for('api', function (Request $request) {
// return Limit::perMinute(1200)->by(optional($request->user())->id ?: $request->ip());
// });
}
}

0 comments on commit bc3b888

Please sign in to comment.