From ab7a35c581c86c8941f4a83fc7c7287c94fff753 Mon Sep 17 00:00:00 2001 From: Gergo Moricz Date: Wed, 7 Aug 2024 19:49:48 +0200 Subject: [PATCH] fix(queue-worker): log lock extensions --- apps/api/src/services/queue-worker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts index eab79746..b2c820b7 100644 --- a/apps/api/src/services/queue-worker.ts +++ b/apps/api/src/services/queue-worker.ts @@ -45,6 +45,7 @@ const sq = getScrapeQueue(); const processJobInternal = async (token: string, job: Job) => { const extendLockInterval = setInterval(async () => { + Logger.info(`🐂 Worker extending lock on job ${job.id}`); await job.extendLock(token, jobLockExtensionTime); }, jobLockExtendInterval);