# RETRY_LIMIT variable · @imqueue/pg-pubsub

Source: https://imqueue.org/api/pg-pubsub/latest/pg-pubsub.retry_limit/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-pubsub 3.0.5 — generated reference, not hand-written

How many reconnect attempts to make before emitting `'error'` and giving up. `Infinity` by default, so a client reconnects indefinitely and survives a database restart without supervision.

**Signature:**

```typescript
RETRY_LIMIT: number
```

