db_connection v0.1.6 DBConnection.Sojourn
A DBConnection.Pool using sbroker.
Options
:pool_size- The number of connections (default:10):broker- The sbroker callback module (see:sbroker, default:DBConnection.Sojourn.Timeout):broker_start_opts- Start options for the broker (see:sbroker, default:[]):max_restarts- the maximum amount of connection restarts allowed in a time frame (default3):max_seconds- the time frame in which:max_restartsapplies (default5):shutdown- the shutdown strategy for connections (default5_000)
All options are passed as the argument to the sbroker callback module.