Skip to content

Commit

Permalink
Submitter: bump MaxResultsPerChain (#2633)
Browse files Browse the repository at this point in the history
* Feat: bump MaxResultsPerChain

* [goreleaser]
  • Loading branch information
dwasse authored May 14, 2024
1 parent aa41b03 commit fe7beae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethergo/submitter/db/txdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (s *Store) MarkAllBeforeNonceReplacedOrConfirmed(ctx context.Context, signe
// it is exported for testing.
// TODO: this should be an option passed to the GetTXs function.
// TODO: temporarily reduced from 50 to 1 to increase resiliency.
const MaxResultsPerChain = 1
const MaxResultsPerChain = 2

func statusToArgs(matchStatuses ...db.Status) []int {
inArgs := make([]int, len(matchStatuses))
Expand Down

0 comments on commit fe7beae

Please sign in to comment.