Skip to content

Commit

Permalink
delete background threads
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Feb 11, 2021
1 parent ae8b61a commit fd17192
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lighthouse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lighthouse/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -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())
Expand Down Expand Up @@ -274,7 +271,6 @@ fn run<E: EthSpec>(
"Configured for network";
"name" => &network_name
);
info!(log, "background threads"; "enabled" => background_thread::read().unwrap());

match matches.subcommand() {
("beacon_node", Some(matches)) => {
Expand Down

0 comments on commit fd17192

Please sign in to comment.