3
0

Raise def. value for request rate limit to 60

This commit is contained in:
Denis Arh 2021-04-15 19:34:37 +02:00
parent dd8921d392
commit e89160be1e
2 changed files with 2 additions and 3 deletions

View File

@ -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,

View File

@ -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: |-