Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some doubts about readme #8

Open
xyz347 opened this issue Jan 21, 2021 · 1 comment
Open

Some doubts about readme #8

xyz347 opened this issue Jan 21, 2021 · 1 comment

Comments

@xyz347
Copy link

xyz347 commented Jan 21, 2021

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"

@zensh
Copy link
Contributor

zensh commented Jan 22, 2021

Yes, it is a careless error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants