Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes
This commit is contained in:
commit
f6b5c32207
|
@ -109,7 +109,7 @@ export async function doWithLock<T>(
|
||||||
): Promise<RedlockExecution<T>> {
|
): Promise<RedlockExecution<T>> {
|
||||||
const redlock = await getClient(opts.type, opts.customOptions)
|
const redlock = await getClient(opts.type, opts.customOptions)
|
||||||
let lock: Redlock.Lock | undefined
|
let lock: Redlock.Lock | undefined
|
||||||
let timeout: NodeJS.Timeout | undefined
|
let timeout
|
||||||
try {
|
try {
|
||||||
const name = getLockName(opts)
|
const name = getLockName(opts)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue