Skip to content

Commit

Permalink
fix(f3): port CertificateExchange.*PollInterval config from lotus (#4913
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hanabi1224 authored Oct 17, 2024
1 parent 2d4b8fe commit 8d6c723
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions f3-sidecar/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ func run(ctx context.Context, rpcEndpoint string, jwt string, f3RpcEndpoint stri
blockDelay := time.Duration(versionInfo.BlockDelay) * time.Second
m.EC.Period = blockDelay
m.CatchUpAlignment = blockDelay / 2
m.CertificateExchange.MinimumPollInterval = blockDelay
m.CertificateExchange.MaximumPollInterval = 4 * blockDelay

head, err := ec.GetHead(ctx)
if err != nil {
Expand Down

0 comments on commit 8d6c723

Please sign in to comment.