File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ func fastnet() config.Config {
23
23
conf .BaseConfig .OptFilterThreshold = 90
24
24
conf .BaseConfig .DatabasePruneInterval = time .Minute
25
25
conf .BaseConfig .DatabaseConnections = 16
26
+ conf .BaseConfig .DatabaseConnIdleTimeout = 500 * time .Millisecond
26
27
27
28
// set for systest TestEquivocation
28
29
conf .BaseConfig .MinerGoodAtxsPercent = 50
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ func standalone() config.Config {
26
26
conf .BaseConfig .AtxVersions = activation.AtxVersions {
27
27
types .EpochID (2 ): types .AtxV2 ,
28
28
}
29
+ conf .BaseConfig .DatabaseConnIdleTimeout = 500 * time .Millisecond
29
30
30
31
conf .TIME .Peersync .Disable = true
31
32
conf .Standalone = true
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ func testnet() config.Config {
85
85
DatabaseConnections : 32 ,
86
86
DatabaseSizeMeteringInterval : 10 * time .Minute ,
87
87
DatabasePruneInterval : 30 * time .Minute ,
88
- DatabaseConnIdleTimeout : 10 * time .Millisecond ,
88
+ DatabaseConnIdleTimeout : 500 * time .Millisecond ,
89
89
NetworkHRP : "stest" ,
90
90
91
91
LayerDuration : 5 * time .Minute ,
You can’t perform that action at this time.
0 commit comments