IMQ_CONNECTION_QUIT_TIMEOUT variable
Grace period (ms) for a graceful QUIT to complete before a channel is forcibly disconnected. A reader blocked on an infinite BRPOP/BLMOVE can never let QUIT through, so without this the socket would leak and keep the process alive.
Signature:
IMQ_CONNECTION_QUIT_TIMEOUT: number
Remarks
Defaults to 1000; override with the IMQ_CONNECTION_QUIT_TIMEOUT environment variable, which is read once when the module is loaded. Applies to the writer, watcher and subscription channels — the reader is disconnected immediately without attempting QUIT.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.