We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e52ce13 commit 1db010bCopy full SHA for 1db010b
1 file changed
backend/core/runner/db.go
@@ -60,7 +60,7 @@ func NewGormDbEx(configReader config.ConfigReader, logger log.Logger, sessionCon
60
}
61
62
idleConns := configReader.GetInt("DB_IDLE_CONNS")
63
- if idleConns <= 0 {
+ if idleConns == 0 {
64
idleConns = 10
65
66
dbMaxOpenConns := configReader.GetInt("DB_MAX_CONNS")
0 commit comments