#480 Race Condition: Circuit breaker storage singleton without lock

closed high Created 2025-12-17 02:25 · Updated 2025-12-17 02:25

Description

Edit
engine/config.py:337-365 - _get_circuit_breaker_storage() creates singleton without thread-safe locking. Two threads can both see None, both create storage instances. FIX: Add _cb_storage_lock with double-check locking.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...