set judge.query.maxConn default to 100
This commit is contained in:
parent
5c258520a2
commit
01aa9352aa
|
@ -1,4 +1,5 @@
|
||||||
query:
|
query:
|
||||||
|
maxConn: 100
|
||||||
connTimeout: 1000
|
connTimeout: 1000
|
||||||
callTimeout: 2000
|
callTimeout: 2000
|
||||||
indexCallTimeout: 2000
|
indexCallTimeout: 2000
|
||||||
|
|
|
@ -44,7 +44,7 @@ func Parse(conf string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
viper.SetDefault("query", map[string]interface{}{
|
viper.SetDefault("query", map[string]interface{}{
|
||||||
"maxConn": 10,
|
"maxConn": 100,
|
||||||
"maxIdle": 10,
|
"maxIdle": 10,
|
||||||
"connTimeout": 1000,
|
"connTimeout": 1000,
|
||||||
"callTimeout": 2000,
|
"callTimeout": 2000,
|
||||||
|
|
Loading…
Reference in New Issue