From 97690f4dfd9a111ad3adb1c9425cfb29a427f5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Wed, 9 Mar 2022 10:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=87=AA=E5=8A=A8=E5=88=86=E8=A1=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/access_log_queue_config.go | 3 +++ 1 file changed, 3 insertions(+) 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"` // 单表最大行数 }