Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes

This commit is contained in:
Peter Clement 2023-12-04 15:41:12 +00:00
commit f6b5c32207
1 changed files with 1 additions and 1 deletions

View File

@ -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)