ClusteredRedisQueue.removeServer() method

Removes a server from the cluster, matching by id or by host and port.

Signature:

protected removeServer(server: IServerInput): void;

Parameters

Parameter

Type

Description

server

IServerInput

address of the server to remove

Returns:

void

Remarks

A silent no-op when no server matches. Routing stops using the host immediately, but teardown of its redis connections is started in the background and not awaited: in-flight work on that host is not drained, and teardown errors are only logged.

Because the underlying queues are matched by host and port, all entries sharing an address are removed together.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.