Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Correct cache handling for zero counts (Fix #7003) #7409
Please be sure you are submitting this against the staging branch.
The cache handling in EmailModel for queued and pending counts was leaving stale cache entries when there was a previous non-zero value in cache. This PR ensures that zero counts are cached the same way as non-zero counts, and that they aren't ignored when retrieved.
Steps to reproduce the bug:
Steps to test this PR:
List deprecations along with the new alternative:
List backwards compatibility breaks: