mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 04:36:13 +08:00
chore(server): log removed job id (#12646)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Improved log messages to include job IDs when jobs are removed from the queue, enhancing traceability for users monitoring job activity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -48,7 +48,7 @@ export class JobQueue {
|
||||
|
||||
const removed = await queue.remove(jobId);
|
||||
if (removed) {
|
||||
this.logger.log(`Job ${jobName} removed from queue ${ns}`);
|
||||
this.logger.log(`Job ${jobName}(id=${jobId}) removed from queue ${ns}`);
|
||||
return job.data.payload;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user