Skip to main content

install_active_workshop

Function install_active_workshop 

Source
pub fn install_active_workshop(
    config: Option<&WorkshopConfig>,
) -> WorkshopConfig
Expand description

Install the process-wide workshop budgets used by read/tool compactors.

The returned immutable receipt is the snapshot written while the singleton lock was held. Callers that need evidence of their own activation can inspect it without racing a later process-wide update.