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