mirror of
https://tildegit.org/solderpunk/molly-brown
synced 2025-04-10 02:13:28 +02:00
Actually include CGI time limit setting in config struct, should have been in last commit.
This commit is contained in:
parent
b0e5021e70
commit
e0910ee29c
@ -24,6 +24,7 @@ type SysConfig struct {
|
||||
AllowTLS12 bool
|
||||
ReadTimeout int
|
||||
WriteTimeoutMinRate int
|
||||
CGITimeLimit int
|
||||
RateLimitEnable bool
|
||||
RateLimitAverage int
|
||||
RateLimitSoft int
|
||||
@ -65,6 +66,7 @@ func getConfig(filename string) (SysConfig, UserConfig, error) {
|
||||
sysConfig.AllowTLS12 = true
|
||||
sysConfig.ReadTimeout = 30
|
||||
sysConfig.WriteTimeoutMinRate = 512
|
||||
sysConfig.CGITimeLimit = 10
|
||||
sysConfig.RateLimitEnable = false
|
||||
sysConfig.RateLimitAverage = 1
|
||||
sysConfig.RateLimitSoft = 10
|
||||
|
Loading…
Reference in New Issue
Block a user