chore: UX design audit cleanup and receipt flow improvements #186

Merged
egullickson merged 25 commits from issue-162-ux-design-audit-cleanup into main 2026-02-14 03:50:23 +00:00
Showing only changes of commit 220f8ea3ac - Show all commits

View File

@@ -18,8 +18,11 @@ from app.engines.base_engine import (
logger = logging.getLogger(__name__)
# Maximum time (seconds) to wait for the cloud fallback
_CLOUD_TIMEOUT_SECONDS = 5.0
# Maximum time (seconds) to wait for the cloud engine.
# WIF token exchange on first call requires 3 HTTP round-trips
# (STS -> IAM credentials -> resource manager) which can take 6-8s.
# Subsequent calls use cached tokens and are fast (<1s).
_CLOUD_TIMEOUT_SECONDS = 10.0
# Redis key prefix for monthly Vision API request counter
_VISION_COUNTER_PREFIX = "ocr:vision_requests"