db_connection v0.1.2 DBConnection.Sojourn

A DBConnection.Pool using sbroker.

Options

  • :pool_size - The number of connections (default: 10)
  • :broker_mod - The sbroker callback module (see :sbroker, default: DBConnection.Sojourn.Timeout)
  • :broker_start_opts - Start options for the broker (see :sbroker, default: [])

All options are passed as the argument to the sbroker callback module.