chore(root): state root task and sparse trie task logs (#14495)

This commit is contained in:
Alexey Shekhirin
2025-02-14 14:47:23 +00:00
committed by GitHub
parent 713182d530
commit 9579ea93e4

View File

@ -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.
// //