Browse Source

Add default value for UpdateBranchSync in config

Set default value for UpdateBranchSync to 1
pull/574/head
giantwu 3 months ago
committed by GitHub
parent
commit
59a6a449c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      dtmsvr/config/config.go

2
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"`

Loading…
Cancel
Save