From 59a6a449c2e8fdd4e1422d1187b8d45217f72fae Mon Sep 17 00:00:00 2001 From: giantwu Date: Thu, 25 Dec 2025 18:43:30 +0800 Subject: [PATCH] Add default value for UpdateBranchSync in config Set default value for UpdateBranchSync to 1 --- dtmsvr/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtmsvr/config/config.go b/dtmsvr/config/config.go index 9cf7ce4..e27bed1 100644 --- a/dtmsvr/config/config.go +++ b/dtmsvr/config/config.go @@ -96,7 +96,7 @@ type Type struct { JSONRPCPort int64 `yaml:"JsonRpcPort" default:"36791"` MicroService MicroService `yaml:"MicroService"` HTTPMicroService HTTPMicroService `yaml:"HttpMicroService"` - UpdateBranchSync int64 `yaml:"UpdateBranchSync"` + UpdateBranchSync int64 `yaml:"UpdateBranchSync" default:"1"` UpdateBranchAsyncGoroutineNum int64 `yaml:"UpdateBranchAsyncGoroutineNum" default:"1"` LogLevel string `yaml:"LogLevel" default:"info"` Log Log `yaml:"Log"`