mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(root): state root task and sparse trie task logs (#14495)
This commit is contained in:
@ -556,7 +556,7 @@ where
|
|||||||
std::thread::Builder::new()
|
std::thread::Builder::new()
|
||||||
.name("State Root Task".to_string())
|
.name("State Root Task".to_string())
|
||||||
.spawn(move || {
|
.spawn(move || {
|
||||||
debug!(target: "engine::tree", "Starting state root task");
|
debug!(target: "engine::tree", "State root task starting");
|
||||||
|
|
||||||
let result = self.run(sparse_trie_tx);
|
let result = self.run(sparse_trie_tx);
|
||||||
let _ = tx.send(result);
|
let _ = tx.send(result);
|
||||||
@ -575,7 +575,7 @@ where
|
|||||||
) -> Sender<SparseTrieUpdate> {
|
) -> Sender<SparseTrieUpdate> {
|
||||||
let (tx, rx) = mpsc::channel();
|
let (tx, rx) = mpsc::channel();
|
||||||
thread_pool.spawn(move || {
|
thread_pool.spawn(move || {
|
||||||
debug!(target: "engine::tree", "Starting sparse trie task");
|
debug!(target: "engine::tree", "Sparse trie task starting");
|
||||||
// We clone the task sender here so that it can be used in case the sparse trie task
|
// We clone the task sender here so that it can be used in case the sparse trie task
|
||||||
// succeeds, without blocking due to any `Drop` implementation.
|
// succeeds, without blocking due to any `Drop` implementation.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user