diff options
Diffstat (limited to 'tvix/nar-bridge/src/bin')
-rw-r--r-- | tvix/nar-bridge/src/bin/nar-bridge.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/nar-bridge/src/bin/nar-bridge.rs b/tvix/nar-bridge/src/bin/nar-bridge.rs index cf312649d147..48eba0ac44ac 100644 --- a/tvix/nar-bridge/src/bin/nar-bridge.rs +++ b/tvix/nar-bridge/src/bin/nar-bridge.rs @@ -1,10 +1,14 @@ use clap::Parser; +use mimalloc::MiMalloc; use nar_bridge::AppState; use tower::ServiceBuilder; use tower_http::trace::{DefaultMakeSpan, TraceLayer}; use tracing::info; use tvix_store::utils::ServiceUrlsGrpc; +#[global_allocator] +static GLOBAL: MiMalloc = MiMalloc; + /// Expose the Nix HTTP Binary Cache protocol for a tvix-store. #[derive(Parser)] #[command(author, version, about, long_about = None)] |