diff --git a/pkg/serverconfigs/access_log_queue_config.go b/pkg/serverconfigs/access_log_queue_config.go index ec2cc0c..d069824 100644 --- a/pkg/serverconfigs/access_log_queue_config.go +++ b/pkg/serverconfigs/access_log_queue_config.go @@ -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"` // 单表最大行数 }