#536 [API/Race] api/config.py module-level config fetch at import time

closed critical Created 2025-12-17 16:28 · Updated 2025-12-17 18:46

Description

Edit
File: api/config.py:11. Module-level call to get_engine_config() executes Vault fetch at import time. If multiple imports race or Vault is not ready, this causes failures. IMPACT: Startup failures, race conditions. FIX: Use lazy initialization with double-checked locking.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...