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

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

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

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