Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. πŸ”₯

fix(queue-worker): raise queue log level to info

Gergo Moricz9df8719efa52
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index e46ffc1a6..a82f12cd3 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -20,10 +20,10 @@ if (process.env.ENV === 'production') {
const wsq = getWebScraperQueue();
async function processJob(job: Job, done) {
- Logger.debug(`πŸ‚ Worker taking job ${job.id}`);
+ Logger.info(`πŸ‚ Worker taking job ${job.id}`);
const lockInterval = setInterval(() => {
- Logger.debug(`πŸ‚ Renewing lock for ${job.id}`);
+ Logger.info(`πŸ‚ Renewing lock for ${job.id}`);
job.extendLock(60000);
}, 15000);
@@ -66,7 +66,7 @@ async function processJob(job: Job, done) {
pageOptions: job.data.pageOptions,
origin: job.data.origin,
});
- Logger.debug(`πŸ‚ Job done ${job.id}`);
+ Logger.info(`πŸ‚ Job done ${job.id}`);
clearInterval(lockInterval);
done(null, data);
} catch (error) {