removed the default cgo driver registration

This commit is contained in:
Gani Georgiev
2024-10-29 22:46:56 +02:00
parent 5a94ec9918
commit 8b42941bd3
10 changed files with 4650 additions and 4680 deletions

View File

@@ -202,7 +202,7 @@ func NewBaseApp(config BaseAppConfig) *BaseApp {
// apply config defaults
if app.config.DBConnect == nil {
app.config.DBConnect = dbConnect
app.config.DBConnect = DefaultDBConnect
}
if app.config.DataMaxOpenConns <= 0 {
app.config.DataMaxOpenConns = DefaultDataMaxOpenConns