SPA_AfterTemperRejection/api
Erik 979aae426b perf(db): batch the good-parts N+1 + cache the press/reason reference reads
- _good_parts_map: collapse the per-press 3-query loop (3xN) into 3 grouped
  queries across all presses; semantics preserved (Joborder JSON/substring
  matching, per-press scoping, whole-map degrade-to-{} on error).
- _press_list + /reasons: served from the kernel cached_select() TTL cache.

Part of the gateway connection-pool-saturation fix
(see fastAPI/agent_docs/db-pool-relief.md).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 12:06:49 +02:00
..
__init__.py feat: scaffold Ausschuss-Station reject-booking page-module (temper_rejects) 2026-07-01 20:44:22 +02:00
routes.py perf(db): batch the good-parts N+1 + cache the press/reason reference reads 2026-07-09 12:06:49 +02:00