Skip to content

Commit

Permalink
Set default number of retained epochs to 1
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Fedorov <serge.fdrv@gmail.com>
  • Loading branch information
matejpavlovic and sergefdrv committed Jul 7, 2022
1 parent 8ecbcd0 commit a10128c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/iss/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func DefaultConfig(membership []t.NodeID) *Config {
LeaderPolicy: &SimpleLeaderPolicy{Membership: membership},
RequestNAckTimeout: 16,
MsgBufCapacity: 32 * 1024 * 1024, // 32 MiB
RetainedEpochs: 2,
RetainedEpochs: 1,
CatchUpTimerPeriod: maxProposeDelay, // maxProposeDelay is picked quite arbitrarily, could be anything
PBFTDoneResendPeriod: maxProposeDelay,
PBFTCatchUpDelay: maxProposeDelay, // maxProposeDelay is picked quite arbitrarily, could be anything
Expand Down

0 comments on commit a10128c

Please sign in to comment.