Skip to main content

GLOBAL_PAY_LOCKS

Static GLOBAL_PAY_LOCKS 

Source
static GLOBAL_PAY_LOCKS: OnceLock<Mutex<HashMap<String, Arc<Mutex<()>>>>>
Expand description

Process-wide payment serialization locks, keyed by origin URL.

Created eagerly so the lock exists before the first provider init, preventing concurrent first-402 races.