diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index f080abcb85556f..5f5f35a342694c 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -2912,6 +2912,7 @@ impl AccountsDb { } fn background_hasher(receiver: Receiver) { + info!("Background account hasher has started"); loop { let result = receiver.recv(); match result { @@ -2922,11 +2923,13 @@ impl AccountsDb { let _ = (*account).hash(); }; } - Err(_) => { + Err(err) => { + info!("Background account hasher is stopping because: {err}"); break; } } } + info!("Background account hasher has stopped"); } fn start_background_hasher(&mut self) {