Skip to content

Commit

Permalink
use the default maxrety for defaulting maxretry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhoff committed Oct 31, 2018
1 parent 1f43cf9 commit 7a98add
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/store/redis/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewStore(client Client) (limiter.Store, error) {
return NewStoreWithOptions(client, limiter.StoreOptions{
Prefix: limiter.DefaultPrefix,
CleanUpInterval: limiter.DefaultCleanUpInterval,
MaxRetry: limiter.DefaultMaxRetry,
})
}

Expand Down

0 comments on commit 7a98add

Please sign in to comment.