-
Notifications
You must be signed in to change notification settings - Fork 10
PgIpLockOptions
Mykhailo Stadnyk edited this page Jan 2, 2020
·
3 revisions
Options accepted by PgIpLock constructor.
- PgIpLockOptions
• acquireInterval: number
Acquire re-try interval. See PgPubSubOptions.acquireInterval.
see PgPubSubOptions.acquireInterval
type {number}
• logger: AnyLogger
Logger to be used for log messages produced by lock instances. Any logger which follows AnyLogger interface is suitable.
type {AnyLogger}
• 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.
type {PgClient}