IS_ONE_PROCESS variable
Default for PgPubSubOptions.singleListener — on.
With it on, an inter-process lock elects exactly ONE process to receive each channel's notifications, which is what makes scaling out safe: LISTEN/NOTIFY delivers to every listening connection, so without the lock every replica handles every message. Turn it off only when you genuinely want a broadcast to all replicas.
Signature:
IS_ONE_PROCESS = true
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.