API Reference queue_keeper_check v#0.4.0

Copy Markdown View Source

Modules

Read-only health check for Oban queues.

The individual checks. Each takes (repo, config, now, query_opts) and returns a list of QueueKeeperCheck.Finding structs. QueueKeeperCheck.run/2 wraps each call in QueueKeeperCheck.Guard; call these directly only if you apply your own limits.

Thresholds and safety limits. All check durations are in seconds. Pass overrides as keyword lists

Static scan for Oban worker modules that have no compile-time call sites and are not listed in Oban (or Oban Pro) cron config.

Combined, report-only classification of dead-worker review candidates.

One detected problem.

Runs one check's queries under server-side safety limits.

Opt-in last-seen ledger for :dead_workers.

Creates the opt-in last-seen ledger tables.

Run the check from a release, outside Oban, e.g. from system cron. mix isn't available in releases, so use eval, which loads code without starting your application (and therefore without starting Oban)

Mix Tasks