Skip to main content

dry_run_enabled

Function dry_run_enabled 

Source
pub fn dry_run_enabled() -> bool
Expand description

Returns true if the v1 / dry-run fallback is requested via env. WMBT_KV_PREFETCH_DRY_RUN=1 (and the usual truthy synonyms) flips the embed-side start_prefetcher back to log-only behavior.