feat: reduce limiter to 30 mins
This commit is contained in:
parent
fb11a01fa7
commit
c0c90d5105
|
@ -59,7 +59,7 @@ func (s *RestServer) Start(ctx context.Context, apiPort, views string) error {
|
||||||
|
|
||||||
s.app.Use(limiter.New(limiter.Config{
|
s.app.Use(limiter.New(limiter.Config{
|
||||||
Max: 5,
|
Max: 5,
|
||||||
Expiration: 1 * time.Hour,
|
Expiration: 30 * time.Minute,
|
||||||
LimiterMiddleware: limiter.SlidingWindow{},
|
LimiterMiddleware: limiter.SlidingWindow{},
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue