ACQUIRE_INTERVAL variable
How often, in milliseconds, a process without the lock retries acquiring it. Default 30000.
This is the failover bound, and it is asymmetric. A clean shutdown releases the lock and the waiting processes are notified at once, so takeover is near-immediate. But if the lock holder dies WITHOUT releasing — SIGKILL, a lost container, a hard crash — nothing notifies anyone, and the channel stays unhandled until the next retry fires. Any notification published in that window is lost outright, because LISTEN/NOTIFY has no backlog to replay.
So this value is the worst-case gap in message handling after an unclean exit. Lower it if that gap matters more than the polling cost of the extra lock acquisition attempts.
Signature:
ACQUIRE_INTERVAL = 30000
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.