Skip to content

Commit

Permalink
refactor: Change rite limit
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatsnake committed Jan 29, 2023
1 parent 9a6be93 commit 5c22848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func main() {

app.Use(cors.New())
app.Use(limiter.New(limiter.Config{
Expiration: 10 * time.Second,
Max: 5,
Expiration: 15 * time.Second,
Max: 10,
}))

app.Get("/", func(c *fiber.Ctx) error {
Expand Down

0 comments on commit 5c22848

Please sign in to comment.