From 4a80e73df45170720cc51e8ab2248f8f876131f2 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Tue, 6 May 2014 14:10:08 -0700 Subject: [PATCH] consul: Drop the Raft logs size warning from 8MB to 1MB --- consul/rpc.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consul/rpc.go b/consul/rpc.go index 383fbf7df5..b4b7ec8c49 100644 --- a/consul/rpc.go +++ b/consul/rpc.go @@ -27,8 +27,8 @@ const ( maxQueryTime = 600 * time.Second // Warn if the Raft command is larger than this. - // If it's over 8MB something is probably being abusive. - raftWarnSize = 8 * 1024 * 1024 + // If it's over 1MB something is probably being abusive. + raftWarnSize = 1024 * 1024 ) // listen is used to listen for incoming RPC connections