Skip to content

Commit ee9da7f

Browse files
committed
Remove unused bootstrap_workers member
1 parent 1bf4b9d commit ee9da7f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

nano/node/node.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ nano::node::node (std::shared_ptr<boost::asio::io_context> io_ctx_a, std::filesy
112112
observers{ *observers_impl },
113113
workers_impl{ std::make_unique<nano::timed_thread_pool> (config.background_threads, nano::thread_role::name::worker, /* start immediately */ true) },
114114
workers{ *workers_impl },
115-
bootstrap_workers_impl{ std::make_unique<nano::thread_pool> (config.bootstrap_serving_threads, nano::thread_role::name::bootstrap_worker, /* start immediately */ true) },
116-
bootstrap_workers{ *bootstrap_workers_impl },
117115
wallet_workers_impl{ std::make_unique<nano::thread_pool> (1, nano::thread_role::name::wallet_worker, /* start immediately */ true) },
118116
wallet_workers{ *wallet_workers_impl },
119117
election_workers_impl{ std::make_unique<nano::thread_pool> (1, nano::thread_role::name::election_worker, /* start immediately */ true) },
@@ -639,7 +637,6 @@ void nano::node::stop ()
639637
pruning.stop ();
640638
vote_rebroadcaster.stop ();
641639

642-
bootstrap_workers.stop ();
643640
wallet_workers.stop ();
644641
election_workers.stop ();
645642
workers.stop ();
@@ -980,7 +977,6 @@ nano::container_info nano::node::container_info () const
980977
info.add ("network", network.container_info ());
981978
info.add ("telemetry", telemetry.container_info ());
982979
info.add ("workers", workers.container_info ());
983-
info.add ("bootstrap_workers", bootstrap_workers.container_info ());
984980
info.add ("wallet_workers", wallet_workers.container_info ());
985981
info.add ("election_workers", election_workers.container_info ());
986982
info.add ("observers", observers.container_info ());

nano/node/node.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ class node final : public std::enable_shared_from_this<node>
118118
nano::node_observers & observers;
119119
std::unique_ptr<nano::timed_thread_pool> workers_impl;
120120
nano::timed_thread_pool & workers;
121-
std::unique_ptr<nano::thread_pool> bootstrap_workers_impl;
122-
nano::thread_pool & bootstrap_workers;
123121
std::unique_ptr<nano::thread_pool> wallet_workers_impl;
124122
nano::thread_pool & wallet_workers;
125123
std::unique_ptr<nano::thread_pool> election_workers_impl;

0 commit comments

Comments
 (0)