Skip to content

Commit

Permalink
change MinConnPoolSize (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu authored Oct 25, 2021
1 parent 33d29c2 commit 202032d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ func main() {
TimeOut: time.Duration(*timeout) * time.Millisecond,
IdleTime: 0 * time.Millisecond,
MaxConnPoolSize: 2,
MinConnPoolSize: 0,
MinConnPoolSize: 1,
}
var err error
pool, err = nebula.NewConnectionPool(hostList, poolConfig, nebula.DefaultLogger{})
Expand Down

0 comments on commit 202032d

Please sign in to comment.