# PgPubSubOptions.acquireInterval property · @imqueue/pg-pubsub

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

Time interval in milliseconds before `LISTEN` clients would re-try to acquire channel locks. It works from one hand as connection keep-alive periodical pings, from other hand adds additional level of reliability for the cases when connection, which holds the lock has been suddenly disconnected in a silent manner.

By default is set to `30000ms` (`30sec`). Please, assume this value should be selected for a particular system with care of often acquire lock hits and overall infrastructure reliability.

**Signature:**

```typescript
acquireInterval: number;
```

