Benjamin Admin 567e82ddf5 Fix stale DB session after long embedding pre-load
The embedding pre-load for 4998 existing controls takes ~16 minutes,
causing the SQLAlchemy session to become invalid. Added rollback after
pre-load completes to reset the session before subsequent DB operations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 14:34:44 +01:00
Description
No description provided
18 MiB
Languages
TypeScript 50.9%
Python 29.8%
Go 16%
Shell 1.7%
PLpgSQL 1%
Other 0.3%