File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212)
1313
1414const (
15- APP_VERSION = "1.0.3 "
15+ APP_VERSION = "1.0.4 "
1616)
1717
1818// 命令类
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ func LoadConfig(fileName string) Config {
5555 port := redis .Key ("port" ).String ()
5656 database , _ := redis .Key ("database" ).Int ()
5757 password := redis .Key ("password" ).String ()
58- maxIdle , _ := delayer .Key ("max_idle" ).Int ()
59- maxActive , _ := delayer .Key ("max_active" ).Int ()
60- idleTimeout , _ := delayer .Key ("idle_timeout" ).Int64 ()
61- connMaxLifetime , _ := delayer .Key ("conn_max_lifetime" ).Int64 ()
58+ maxIdle , _ := redis .Key ("max_idle" ).Int ()
59+ maxActive , _ := redis .Key ("max_active" ).Int ()
60+ idleTimeout , _ := redis .Key ("idle_timeout" ).Int64 ()
61+ connMaxLifetime , _ := redis .Key ("conn_max_lifetime" ).Int64 ()
6262 // 返回
6363 data := Config {
6464 Delayer : Delayer {
You can’t perform that action at this time.
0 commit comments