fix remove fail2ban
This commit is contained in:
@@ -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{},
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user