Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
feat: update retry policy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Aug 17, 2023
1 parent 3825166 commit 0c8357f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ func (p *Proposer) ProposeTxList(

return nil
},
backoff.WithMaxRetries(backoff.NewExponentialBackOff(), uint64(maxSendProposeBlockTxRetry)),
backoff.WithMaxRetries(backoff.NewConstantBackOff(12*time.Second), uint64(maxSendProposeBlockTxRetry)),
); err != nil {
return err
}
Expand Down

0 comments on commit 0c8357f

Please sign in to comment.