consul: Drop the Raft logs size warning from 8MB to 1MB

pull/138/head
Armon Dadgar 2014-05-06 14:10:08 -07:00
parent 1256bf37f0
commit 4a80e73df4
1 changed files with 2 additions and 2 deletions

View File

@ -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