Skip to content

Optimize user retrieval for pending notifications#1379

Merged
jSylvestre merged 1 commit into
masterfrom
JCS/20260929
May 29, 2026
Merged

Optimize user retrieval for pending notifications#1379
jSylvestre merged 1 commit into
masterfrom
JCS/20260929

Conversation

@jSylvestre

Copy link
Copy Markdown
Member

AI's suggest fix for email job failure

Refactors notification queries to use UserId for direct comparisons and improve the efficiency of fetching distinct users via a Join with AsNoTracking(). This prevents potential N+1 query issues and enhances robustness in the notification processing job.

Refactors notification queries to use `UserId` for direct comparisons and improve the efficiency of fetching distinct users via a `Join` with `AsNoTracking()`. This prevents potential N+1 query issues and enhances robustness in the notification processing job.
@jSylvestre jSylvestre merged commit ddde519 into master May 29, 2026
3 checks passed
@jSylvestre jSylvestre deleted the JCS/20260929 branch May 29, 2026 18:41
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.

2 participants