added auto-refresh on a daily basis (configurable)
This commit is contained in:
+5
-2
@@ -181,13 +181,16 @@ type AmConfig struct {
|
||||
} `yaml:"uploads"`
|
||||
} `yaml:"posting"`
|
||||
Tuning struct {
|
||||
WorkerTasks int `yaml:"workerTasks"`
|
||||
Timeouts struct {
|
||||
WorkerTasks int `yaml:"workerTasks"`
|
||||
IPRangeLoadAttempts int `yaml:"ipRangeLoadAttempts"`
|
||||
IPRangeRefresh string `yaml:"ipRangeRefresh"`
|
||||
Timeouts struct {
|
||||
HttpRead int `yaml:"httpRead"`
|
||||
HttpWrite int `yaml:"httpWrite"`
|
||||
HttpIdle int `yaml:"httpIdle"`
|
||||
PageExecute int `yaml:"pageExecute"`
|
||||
PageRender int `yaml:"pageRender"`
|
||||
IPRangeLoad int `yaml:"ipRangeLoad"`
|
||||
} `yaml:"timeouts"`
|
||||
Queues struct {
|
||||
AuditWrites int `yaml:"auditWrites"`
|
||||
|
||||
@@ -102,12 +102,15 @@ posting:
|
||||
- "image/png"
|
||||
tuning:
|
||||
workerTasks: 4
|
||||
ipRangeLoadAttempts: 3
|
||||
ipRangeRefresh: "24h"
|
||||
timeouts:
|
||||
httpRead: 30
|
||||
httpWrite: 30
|
||||
httpIdle: 120
|
||||
pageExecute: 15
|
||||
pageRender: 15
|
||||
ipRangeLoad: 10
|
||||
queues:
|
||||
auditWrites: 16
|
||||
contextRecycle: 16
|
||||
|
||||
Reference in New Issue
Block a user