Marten::Conf::GlobalSettings::Database
Defines the configuration of a specific database connection.
Constructors
Instance methods
Returns the number of seconds to wait for a connection to become available when the max pool size is reached.
Allows to set the seconds to wait for a connection to become available when the max pool size is reached.
Returns the initial number of connections created for the database connections pool.
Allows to set the initial number of connections created for the database connections pool.
Returns the maximum number of idle connections for the database connections pool.
When released, a connection will be closed only if there are already max_idle_pool_size idle connections.
Allows to set the maximum number of idle connections for the database connections pool.
Returns the maximum number of connections that will be held by the database connections pool.
When set to 0, this means that there is no limit to the number of connections.
Allows to set the maximum number of connections that will be held by the database connections pool.
Returns the maximum number of attempts to retry re-establishing a lost connection.
Allows to set the maximum number of attempts to retry re-establishing a lost connection.
Returns the delay to wait between each retry at re-establishing a lost connection.