# JobQueueOptions.cluster property · @imqueue/job

Source: https://imqueue.org/api/job/latest/job.jobqueueoptions.cluster/
Published: 2026-07-31
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/job 3.0.3 — generated reference, not hand-written

Broker nodes to connect to, as host/port pairs. The broker is Redis.

**Signature:**

```typescript
cluster?: {
        host: string;
        port: number;
    }[];
```

## Remarks

Omit this and the queue connects to a single `localhost:6379`, which is `@imqueue/core`'s default endpoint rather than a one-node cluster. Give two or more entries only when the broker really is clustered — core spreads the queue across the nodes it is given.

