Skip to content

Commit

Permalink
ISS: Reduce default segment length
Browse files Browse the repository at this point in the history
This makes at least one of the integration test to order requests
across more than one epoch.

Signed-off-by: Sergey Fedorov <[email protected]>
  • Loading branch information
Sergey Fedorov committed May 19, 2022
1 parent 6af64bd commit 5483dac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/iss/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package iss

import (
"fmt"

t "github.com/filecoin-project/mir/pkg/types"
)

Expand Down Expand Up @@ -160,7 +161,7 @@ func CheckConfig(c *Config) error {
func DefaultConfig(membership []t.NodeID) *Config {
return &Config{
Membership: membership,
SegmentLength: 8,
SegmentLength: 4,
MaxBatchSize: 4,
MaxProposeDelay: 16,
NumBuckets: len(membership),
Expand Down

0 comments on commit 5483dac

Please sign in to comment.