// DatabaseConfig is configuration relevant to the Database storage.
typeDatabaseConfigstruct{
Addresses[]string`yaml:"address" json:"address" usage:"List of database servers (username:password@address:port/dbname). Default 'root@127.0.0.1:26257'."`
Addresses[]string`yaml:"address" json:"address" usage:"List of database servers (username:password@address:port/dbname). Default 'root@localhost:26257'."`
ConnMaxLifetimeMsint`yaml:"conn_max_lifetime_ms" json:"conn_max_lifetime_ms" usage:"Time in milliseconds to reuse a database connection before the connection is killed and a new one is created. Default 3600000 (1 hour)."`
MaxOpenConnsint`yaml:"max_open_conns" json:"max_open_conns" usage:"Maximum number of allowed open connections to the database. Default 100."`
MaxIdleConnsint`yaml:"max_idle_conns" json:"max_idle_conns" usage:"Maximum number of allowed open but unused connections to the database. Default 100."`
@@ -567,7 +567,7 @@ type DatabaseConfig struct {
// NewDatabaseConfig creates a new DatabaseConfig struct.