Skip to content

perf(notifier): project only notifications field when loading rules#551

Merged
Kuchizu merged 2 commits intomasterfrom
perf/notifier-projects-projection
May 8, 2026
Merged

perf(notifier): project only notifications field when loading rules#551
Kuchizu merged 2 commits intomasterfrom
perf/notifier-projects-projection

Conversation

@Kuchizu
Copy link
Copy Markdown
Member

@Kuchizu Kuchizu commented May 6, 2026

findOne over hawk.projects in notifier now requests only the notifications field instead of the whole project document.

@Kuchizu Kuchizu merged commit 5885e77 into master May 8, 2026
5 checks passed
@Kuchizu Kuchizu deleted the perf/notifier-projects-projection branch May 8, 2026 01:51
Kuchizu added a commit that referenced this pull request May 8, 2026
* feat(metrics): expose worker metrics over HTTP (#547)

* perf(notifier): project only notifications field when loading rules (#551)

* perf(notifier): project only notifications field when loading rules

* test(notifier): update findOne assertion for projection arg

---------

Co-authored-by: Kuchizu <70284260+Kuchizu@users.noreply.github.com>
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.

3 participants