Skip to content

Commit

Permalink
comment about dynamic lambda
Browse files Browse the repository at this point in the history
Co-authored-by: cce <[email protected]>
  • Loading branch information
yossigi and cce authored Aug 28, 2023
1 parent 4c1e706 commit f6979bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agreement/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ func (p *player) calculateFilterTimeout(ver protocol.ConsensusVersion, tracer *t
clampedTimeout = defaultTimeout
}
tracer.log.Debugf("round %d, period %d: dynamicTimeout = %d, clamped timeout = %d", p.Round, p.Period, dynamicTimeout, clampedTimeout)
dynamicTimeout = clampedTimeout
// store dynamicFilterTimeout on the player for debugging & reporting
p.dynamicFilterTimeout = dynamicTimeout
dynamicTimeout = clampedTimeout

if !proto.DynamicFilterTimeout {
// If the dynamic filter timeout is disabled, return the default filter
Expand Down

0 comments on commit f6979bc

Please sign in to comment.