Skip to content

PgIpLockOptions

Mykhailo Stadnyk edited this page Nov 23, 2020 · 3 revisions

Globals / PgIpLockOptions

Interface: PgIpLockOptions

Options accepted by PgIpLock constructor.

Hierarchy

  • PgIpLockOptions

Index

Properties

Properties

acquireInterval

acquireInterval: number

Acquire re-try interval. See PgPubSubOptions.acquireInterval.

see PgPubSubOptions.acquireInterval


logger

logger: AnyLogger

Logger to be used for log messages produced by lock instances. Any logger which follows AnyLogger interface is suitable.


pgClient

pgClient: PgClient

PostgreSQL database connection client instance of PgClient interface. Lock will not create connection itself, but await the connection client to be provided explicitly.

Clone this wiki locally