Fix Config Comments in DButil Package (#2119)
* Fix Config Comments * Updating lock file * Update lock file * Set Actual time.Duration * Fix Issue
This commit is contained in:
parent
d68c993775
commit
23213a7a29
@ -11,9 +11,9 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
maxIdleConns = flag.Int("db.max_idle_conns", 50, "default value for database connections, -1 means the stdlib default")
|
||||
maxOpenConns = flag.Int("db.max_open_conns", 100, "default value for database connections, -1 means the stdlib default")
|
||||
connMaxLifetime = flag.Duration("db.conn_max_lifetime", -1, "default value for database connections, -1 means the stdlib default")
|
||||
maxIdleConns = flag.Int("db.max_idle_conns", 50, "Maximum Amount of Idle Database connections, -1 means the stdlib default")
|
||||
maxOpenConns = flag.Int("db.max_open_conns", 100, "Maximum Amount of Open Database connections, -1 means the stdlib default")
|
||||
connMaxLifetime = flag.Duration("db.conn_max_lifetime", -1, "Maximum Database Connection Lifetime, -1ns means the stdlib default")
|
||||
)
|
||||
|
||||
// Configure Sets Connection Boundaries and adds db_stats monitoring to monkit
|
||||
|
6
scripts/testdata/satellite-config.yaml.lock
vendored
6
scripts/testdata/satellite-config.yaml.lock
vendored
@ -40,13 +40,13 @@
|
||||
# satellite database connection string
|
||||
# database: "postgres://"
|
||||
|
||||
# default value for database connections, -1 means the stdlib default
|
||||
# Maximum Database Connection Lifetime, -1ns means the stdlib default
|
||||
# db.conn_max_lifetime: -1ns
|
||||
|
||||
# default value for database connections, -1 means the stdlib default
|
||||
# Maximum Amount of Idle Database connections, -1 means the stdlib default
|
||||
# db.max_idle_conns: 50
|
||||
|
||||
# default value for database connections, -1 means the stdlib default
|
||||
# Maximum Amount of Open Database connections, -1 means the stdlib default
|
||||
# db.max_open_conns: 100
|
||||
|
||||
# address to listen on for debug endpoints
|
||||
|
Loading…
Reference in New Issue
Block a user