View Source OPQ.Options (OPQ: One Pooled Queue v4.0.3)

Options for configuring OPQ.

Link to this section Summary

Functions

Examples

iex> Options.assign_defaults([]) |> Keyword.get(:workers)
10

iex> Options.assign_defaults([workers: 4]) |> Keyword.get(:workers)
4

Link to this section Functions

examples

Examples

iex> Options.assign_defaults([]) |> Keyword.get(:workers)
10

iex> Options.assign_defaults([workers: 4]) |> Keyword.get(:workers)
4