mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-04 01:56:34 +08:00
增加对访问日志自动分表配置
This commit is contained in:
@@ -7,4 +7,7 @@ type AccessLogQueueConfig struct {
|
||||
MaxLength int `yaml:"maxLength" json:"maxLength"` // 队列最大长度
|
||||
CountPerSecond int `yaml:"countPerSecond" json:"countPerSecond"` // 每秒写入数量
|
||||
Percent int `yaml:"percent" json:"percent"` // 比例,如果为0-100,默认为100
|
||||
|
||||
EnableAutoPartial bool `yaml:"enableAutoPartial" json:"enableAutoPartial"` // 是否启动自动分表
|
||||
RowsPerTable int64 `yaml:"rowsPerTable" json:"rowsPerTable"` // 单表最大行数
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user