mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
fix(queue-worker): log lock extensions
This commit is contained in:
parent
a1c2ee5aa9
commit
ab7a35c581
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user