Fix comments

This commit is contained in:
Adria Navarro 2023-11-29 22:01:49 +01:00
parent 73fd1f66c5
commit 9c12c5b62e
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export async function doWithLock<T>(
lock = await redlock.lock(name, opts.ttl)
if (opts.type === LockType.AUTO_EXTEND) {
// No TTL is provided, so we keep extending the lock while the task is running
// We keep extending the lock while the task is running
const extendInIntervals = (): void => {
timeout = setTimeout(async () => {
let isExpired = false