PgPubSubOptions.acquireInterval property
Time interval in milliseconds before LISTEN clients would re-try to acquire channel locks. It works from one hand as connection keep-alive periodical pings, from other hand adds additional level of reliability for the cases when connection, which holds the lock has been suddenly disconnected in a silent manner.
By default is set to 30000ms (30sec). Please, assume this value should be selected for a particular system with care of often acquire lock hits and overall infrastructure reliability.
Signature:
acquireInterval: number;
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.