Upgrade goext
This commit is contained in:
@@ -42,7 +42,7 @@ func NewLogsDatabase(cfg server.Config) (*Database, error) {
|
||||
xdb.SetConnMaxIdleTime(60 * time.Minute)
|
||||
}
|
||||
|
||||
qqdb := sq.NewDB(xdb)
|
||||
qqdb := sq.NewDB(xdb, sq.DBOptions{})
|
||||
|
||||
if conf.EnableLogger {
|
||||
qqdb.AddListener(dbtools.DBLogger{})
|
||||
|
||||
Reference in New Issue
Block a user