db_connection v0.2.5 DBConnection.Sojourn.Timeout

A sbroker callback module with a timeout based queue.

Options

  • :queue_timeout - The time to wait for control of the connection’s state (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)