Ecto v1.1.0 Ecto.Pools.SojournBroker.Timeout

Timeout based broker.

Drops requests waiting for a connection after a timeout. See :sbroker_timeout_queue for more information.

Options

  • :queue_timeout - The amount of time in milliseconds to wait in queue (default: 5_000)
  • :queue_out - Either :out for a FIFO queue or :out_r for a LIFO queue (default: :out)
  • :queue_drop - Either :drop for head drop on max size or :drop_r for tail drop (default: :drop)
  • :queue_size - The maximum size of the queue (default: 128)