Skip to content

Commit

Permalink
Update raft_server.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Feb 1, 2024
1 parent e1c5968 commit 5dccee2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion raftify/src/raft_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,10 @@ impl RaftService for RaftServer {
reply.result_type =
raft_service::ChangeConfigResultType::ChangeConfigTimeoutError as i32;
reply.error = e.to_string().as_bytes().to_vec();
self.logger.error("timeout waiting for reply");
self.logger.error(&format!(
"Confchange request timeout. current conf_change_request_timeout is {}",
self.config.conf_change_request_timeout
));
}
}

Expand Down

0 comments on commit 5dccee2

Please sign in to comment.