ratelimiter-go icon indicating copy to clipboard operation
ratelimiter-go copied to clipboard

Some doubts about readme

Open xyz347 opened this issue 4 years ago • 1 comments

in readme

	limiter := ratelimiter.New(ratelimiter.Options{
		Max:      10,
		Duration: time.Minute, // limit to 1000 requests in 1 minute.
		Client:   &redisClient{client},
	})

why Max is 10 and comment said "limit to 1000"

xyz347 avatar Jan 21 '21 04:01 xyz347

Yes, it is a careless error

zensh avatar Jan 22 '21 03:01 zensh