feat: reduce limiter to 30 mins

This commit is contained in:
Urko 2023-07-20 09:00:07 +02:00
parent fb11a01fa7
commit c0c90d5105
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ func (s *RestServer) Start(ctx context.Context, apiPort, views string) error {
s.app.Use(limiter.New(limiter.Config{
Max: 5,
Expiration: 1 * time.Hour,
Expiration: 30 * time.Minute,
LimiterMiddleware: limiter.SlidingWindow{},
}))