Raise def. value for request rate limit to 60
This commit is contained in:
parent
dd8921d392
commit
e89160be1e
2
pkg/options/auth.gen.go
generated
2
pkg/options/auth.gen.go
generated
@ -54,7 +54,7 @@ func Auth() (o *AuthOpt) {
|
||||
SessionLifetime: 24 * time.Hour,
|
||||
SessionPermLifetime: 360 * 24 * time.Hour,
|
||||
GarbageCollectorInterval: 15 * time.Minute,
|
||||
RequestRateLimit: 30,
|
||||
RequestRateLimit: 60,
|
||||
RequestRateWindowLength: time.Minute,
|
||||
CsrfSecret: getSecretFromEnv("csrf secret"),
|
||||
CsrfEnabled: true,
|
||||
|
||||
@ -93,7 +93,7 @@ props:
|
||||
|
||||
- name: requestRateLimit
|
||||
type: int
|
||||
default: 30
|
||||
default: 60
|
||||
description: |-
|
||||
How many requests from a cerain IP address are allowed in a time window.
|
||||
Set to zero to disable
|
||||
@ -149,7 +149,6 @@ props:
|
||||
|
||||
When empty path is set (default value), embedded files are used.
|
||||
|
||||
|
||||
- name: developmentMode
|
||||
type: bool
|
||||
description: |-
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user