Queuetopia.SchedulerPool (queuetopia v6.0.0)

View Source

A dedicated connection pool for the scheduling queries.

Enabled per Queuetopia with dedicated_scheduler_pool?: true in the Queuetopia config. The pool is a second instance of the Queuetopia's repo — same config, same adapter — shared by every Queuetopia of the same repo, and sized by the QUEUETOPIA_SCHEDULER_POOL_SIZE environment variable (required when the pool is enabled).

Summary

Functions

child_spec(opts)

name(repo)

@spec name(module()) :: atom()

pool_size()

@spec pool_size() :: pos_integer()

start_link(opts)