Cache per-request transaction reads (badge reloads full JSON every page) #33
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium
Category: tech-debt
Location:
app.py:166-170Problem
inject_unreviewed_countcontext processor parses the entire transactions.json on every request, including pages without the badge, and duplicates loads done elsewhere in the same request.Suggested fix
Memoize on flask.g per request.
Filed by automated code review.