Skip to content

Commit f5b8f6c

Browse files
author
auxten
committed
Default BPPeriod = 10 * time.Second
1 parent 7a73a10 commit f5b8f6c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func LoadConfig(configPath string) (config *Config, err error) {
159159
}
160160

161161
if config.BPPeriod == time.Duration(0) {
162-
config.BPPeriod = 3 * time.Second
162+
config.BPPeriod = 10 * time.Second
163163
}
164164

165165
if config.WorkingRoot == "" {

conf/testnet/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ WorkingRoot: "./"
33
PubKeyStoreFile: "public.keystore"
44
PrivateKeyFile: "private.key"
55
DHTFileName: "dht.db"
6+
BPPeriod: 10s
67
ListenAddr: "127.0.0.1:4661"
78
ThisNodeID: "00000f3b43288fe99831eb533ab77ec455d13e11fc38ec35a42d4edd17aa320d"
89
DNSSeed:

0 commit comments

Comments
 (0)