Skip to content

Commit

Permalink
consul: Drop the Raft logs size warning from 8MB to 1MB
Browse files Browse the repository at this point in the history
  • Loading branch information
armon committed May 6, 2014
1 parent 1256bf3 commit 4a80e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consul/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a80e73

Please sign in to comment.