Skip to main content

Module pg_store

Module pg_store 

Source
Expand description

Postgres-backed QueueStore implementation (feature-gated). Postgres / Redis-backed implementations of QueueStore and Notifier.

Enabled by the pg feature (on by default). The SQL schema this store targets is published in the mailrs repo (scripts/init-schema.sql — tables outbound_queue and suppression_list).

Structs§

PgQueueStore
QueueStore backed by a sqlx::PgPool against the mailrs schema.
RedisNotifier
Redis pub/sub-backed Notifier using the queue:notify channel.