From fd171928382f8b2b4792ed8cfa9ad7bc3d0fdfc1 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Thu, 11 Feb 2021 18:51:25 -0500 Subject: [PATCH] delete background threads --- lighthouse/Cargo.toml | 1 - lighthouse/src/main.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/lighthouse/Cargo.toml b/lighthouse/Cargo.toml index 61a8106080e..4e0f05e4b50 100644 --- a/lighthouse/Cargo.toml +++ b/lighthouse/Cargo.toml @@ -42,7 +42,6 @@ lighthouse_version = { path = "../common/lighthouse_version" } account_utils = { path = "../common/account_utils" } remote_signer = { "path" = "../remote_signer" } tokio-compat-02 = "0.1" -jemalloc-ctl = "0.3.3" [dev-dependencies] tempfile = "3.1.0" diff --git a/lighthouse/src/main.rs b/lighthouse/src/main.rs index d4d48d5f006..70e2786e42b 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -10,7 +10,6 @@ use std::process::exit; use tokio_compat_02::FutureExt; use types::{EthSpec, EthSpecId}; use validator_client::ProductionValidatorClient; -use jemalloc_ctl::background_thread; pub const ETH2_CONFIG_FILENAME: &str = "eth2-spec.toml"; @@ -28,8 +27,6 @@ fn bls_library_name() -> &'static str { fn main() { - background_thread::write(true).unwrap(); - // Parse the CLI parameters. let matches = App::new("Lighthouse") .version(VERSION.replace("Lighthouse/", "").as_str()) @@ -274,7 +271,6 @@ fn run( "Configured for network"; "name" => &network_name ); - info!(log, "background threads"; "enabled" => background_thread::read().unwrap()); match matches.subcommand() { ("beacon_node", Some(matches)) => {