Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@younocode
Copy link
Contributor

No description provided.

@younocode younocode requested a review from Copilot October 27, 2025 07:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds queue options configuration for job retention in the mail sender merge and attachments crop processors. The changes implement automatic cleanup of completed and failed jobs to prevent unbounded queue growth.

Key changes:

  • Added NestWorkerOptions configuration to both processors with removeOnComplete and removeOnFail settings
  • Removed unused imports (Logger from mail-sender processor and dayjs)

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/nestjs-backend/src/features/mail-sender/open-api/mail-sender.merge.processor.ts Added queue options with 1000 job retention limit and cleaned up unused imports
apps/nestjs-backend/src/features/attachments/attachments-crop.processor.ts Added queue options with 2000 job retention limit and made queueOptions exportable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@younocode younocode requested a review from Copilot October 27, 2025 07:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@younocode younocode merged commit 2cc2997 into develop Oct 27, 2025
9 of 10 checks passed
@younocode younocode deleted the pref/queue-config branch October 27, 2025 07:12
@github-actions
Copy link

🧹 Preview Environment Cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant