Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Schwartz committed Apr 21, 2022
1 parent c2b7ffb commit 30559a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gateway/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ type Node struct {
rateLimiter *rate.Limiter
rateLimitTimeout time.Duration
errLookback error
errRateLimit error
}

var (
Expand All @@ -121,7 +120,6 @@ func NewNode(api TargetAPI, lookbackCap time.Duration, stateWaitLookbackLimit ab
rateLimiter: rate.NewLimiter(limit, stateRateLimitTokens),
rateLimitTimeout: rateLimitTimeout,
errLookback: fmt.Errorf("lookbacks of more than %s are disallowed", lookbackCap),
errRateLimit: fmt.Errorf("this respones has been rate limited"),
}
}

Expand Down

0 comments on commit 30559a0

Please sign in to comment.