diff --git a/db/hotimedb.go b/db/hotimedb.go index dc976f8..8b0f0da 100644 --- a/db/hotimedb.go +++ b/db/hotimedb.go @@ -13,7 +13,6 @@ import ( "reflect" "sort" "strings" - "time" ) type HoTimeDB struct { @@ -315,7 +314,7 @@ func (that *HoTimeDB) InitDb(err ...*Error) *Error { e := that.SlaveDB.Ping() that.LastErr.SetError(e) } - that.DB.SetConnMaxLifetime(time.Second) + //that.DB.SetConnMaxLifetime(time.Second) return that.LastErr }