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

Fix incorrect documentation of ratelimit.read.refill default #168

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

wookie184
Copy link
Contributor

The actual default config:

ratelimit = {
"read": {
"capacity": 100,
"consume": 1,
"refill": 2,
},
"create": {
"capacity": 2,
"consume": 2,
"refill": 1,
},
"delete": {
"capacity": 2,
"consume": 2,
"refill": 1,
},
}

The correct value is what's described above ("So the read bucket below allows a burst of a 100 reads then another 2 per second.") and used earlier in the file.

@supakeen
Copy link
Owner

Nice find. Thanks.

@supakeen supakeen merged commit e05a1ad into supakeen:master Jul 10, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants