From a2104f0bba6296269789309da0d4529b8c68c043 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Sun, 24 May 2015 17:53:23 +0300 Subject: [PATCH] Fixed Raft timings --- .../dynamic_node_id/server/220.AppendEntries.uavcan | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan b/dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan index f650e91306..77c32edf59 100644 --- a/dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan +++ b/dsdl/uavcan/protocol/dynamic_node_id/server/220.AppendEntries.uavcan @@ -3,16 +3,17 @@ # Please refer to the specification for details. # -uint16 DEFAULT_REQUEST_TIMEOUT_MS = 100 +uint16 DEFAULT_REQUEST_TIMEOUT_MS = 200 -uint16 DEFAULT_BASE_ELECTION_TIMEOUT_MS = 1000 # request timeout * max cluster size * 2 requests +uint16 DEFAULT_BASE_ELECTION_TIMEOUT_MS = 1600 # request timeout * (max cluster size - 1) * 2 requests uint32 term uint32 prev_log_term uint8 prev_log_index uint8 leader_commit -Entry[<=5] entries +# Full replication: 127 requests * 0.2 sec interval * 4 followers * 2 trips of next_index value ~ 3.5 min +Entry[<=1] entries ---