Expand description
PostgreSQL QueueBackend for Boson.
Choose at worker boot. Enable via the boson crate postgres feature.
§Entry points
PostgresQueueBackend::connect— open a pool and bootstrap schemainstall_default_postgres_backend— register on the globalQueueRouter
Structs§
- Postgres
Queue Backend - PostgreSQL-backed queue backend.
Functions§
- install_
default_ postgres_ backend - Install a new
PostgresQueueBackendas the process-global default backend. - install_
isolated_ postgres_ backend - Install postgres backend with an isolated schema for test sessions.
- postgres_
test_ url - Resolve postgres URL from env (test preferred, then bench, then default).