From e822269bab6c67c8e29043baef4f03db46cfb5d1 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 18 Dec 2018 15:43:20 +0100 Subject: [PATCH] F #2462: Better defaults for RAFT --- share/etc/oned.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/etc/oned.conf b/share/etc/oned.conf index 100ba49c3e..5a7331439d 100644 --- a/share/etc/oned.conf +++ b/share/etc/oned.conf @@ -175,11 +175,11 @@ FEDERATION = [ RAFT = [ LIMIT_PURGE = 100000, - LOG_RETENTION = 500000, - LOG_PURGE_TIMEOUT = 600, - ELECTION_TIMEOUT_MS = 2500, + LOG_RETENTION = 250000, + LOG_PURGE_TIMEOUT = 60, + ELECTION_TIMEOUT_MS = 5000, BROADCAST_TIMEOUT_MS = 500, - XMLRPC_TIMEOUT_MS = 450 + XMLRPC_TIMEOUT_MS = 1000 ] # Executed when a server transits from follower->leader