perf: restore single-trip combined batch counts and daemon cache for tags #95

Merged
clanker merged 1 commit from perf/tag-caching-and-batching into main 2026-10-15 05:08:57 +00:00
Member

Re-instate tag view performance optimizations (previously in PR #92):

  • Return unread_count along with total count from GET /api/v1/tags?include_unread=true in a single round-trip.
  • Run single notmuch count --batch across both total and unread queries in ned.service.
  • Cache tag list and counts in ned.service for up to 60s with automatic invalidation on mail sync, maildir moves, and tag mutations.
  • Eliminate second count_batch round-trip in TagModel.refresh.
Re-instate tag view performance optimizations (previously in PR #92): - Return unread_count along with total count from GET /api/v1/tags?include_unread=true in a single round-trip. - Run single notmuch count --batch across both total and unread queries in ned.service. - Cache tag list and counts in ned.service for up to 60s with automatic invalidation on mail sync, maildir moves, and tag mutations. - Eliminate second count_batch round-trip in TagModel.refresh.
Re-instate tag view performance optimizations previously in PR #92:
- Return unread_count along with total count from GET /api/v1/tags?include_unread=true in a single round-trip.
- Run single notmuch count --batch across both total and unread queries.
- Cache tag list and counts in ned.service for up to 60s with automatic invalidation on mail sync and mutations.
- Eliminate second count_batch round-trip in TagModel.refresh.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Home/lazarus!95
No description provided.