feat: 添加夸一下的内容

This commit is contained in:
2025-06-25 11:35:16 +08:00
parent b807cc9f38
commit bce94f52a0
8 changed files with 124 additions and 53 deletions

View File

@@ -96,7 +96,7 @@ export const worker = new Worker(
worker.on('completed', async (job) => {
const jobCounts = await queue.getJobCounts('waiting', 'wait', 'delayed');
if (job.name !== 'unread') {
console.log('job completed', job.name, job.id, job.returnvalue, jobCounts.delayed, jobCounts.wait);
console.log('job completed', job.name, 'run id', job.id, job.returnvalue, jobCounts.delayed, jobCounts.wait);
}
if (jobCounts.delayed + jobCounts.wait > 0) {
// console.log('======has jobs, no need to add new job');