# ClusteredRedisQueue.removeServer() method · @imqueue/core

Source: https://imqueue.org/api/core/latest/core.clusteredredisqueue.removeserver/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/core 3.3.2 — generated reference, not hand-written

Removes a server from the cluster, matching by `id` or by host and port.

**Signature:**

```typescript
protected removeServer(server: IServerInput): void;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| server | [IServerInput](https://imqueue.org/api/core/latest/core.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.

