Skip to main content

init_shared_memory_db

Function init_shared_memory_db 

Source
pub fn init_shared_memory_db() -> Result<(), ShellError>
Expand description

Ensures the shared in-memory connection exists without holding the mutex.

Call this early in process startup so the static connection is the lifetime anchor for the shared-cache memory DB.