Skip to content

Optimize Notification Queries #199

Description

@nensii21

Description

Unread notification count currently loads notifications before counting.

Replace inefficient queries with SQL COUNT.

Acceptance Criteria
COUNT(*)
Reduced database load
Existing behavior unchanged

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions