Skip to content

Commit

Permalink
honor sequencer rate limiting for turn taking
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
  • Loading branch information
jsign committed Jan 13, 2023
1 parent db39e0d commit 7a952b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kzgcli/contribute.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
)

const (
tryContributeAttemptDelay = time.Second * 15
tryContributeAttemptDelay = time.Second * 30
sendContributionRetryDelay = time.Second
)

Expand Down
1 change: 0 additions & 1 deletion sequencerclient/sequencerclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func (c *Client) TryContribute(ctx context.Context, sessionID string) (*contribu
}
// Should we keep waiting for our turn?
if mwr.Error != "" {
fmt.Println(mwr.Error)
return nil, false, nil
}

Expand Down

0 comments on commit 7a952b4

Please sign in to comment.