Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: End
tick_loop()
when the receiver is gone.
Currently, `tick_loop()` would keep printing the trace message every tick even when the receiver (Raft main loop) is gone in this form: `INFO openraft::core::tick: .../tick.rs:70: Tick fails to send, receiving end quit: channel closed` If the tick message fails to send, then terminate the loop, since every future message will fail to send as well. Also adjust the trace message to better describe what happened.
- Loading branch information