fix remove fail2ban

This commit is contained in:
2023-07-23 11:13:32 +02:00
parent 02c7c97f68
commit bd95dd8ffd
3 changed files with 6 additions and 6 deletions

View File

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