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

Feature/rate limit searches #53

Merged
merged 4 commits into from
Jan 1, 2022
Merged

Conversation

evan-buss
Copy link
Owner

@evan-buss evan-buss commented Jan 1, 2022

  • Implement rate limiting for both browser mode and CLI mode.
  • The minimum limit is 1 search per 10 seconds but this can be configured for a higher value via the "--rate-limit" flag when launching OpenBooks.

Here's a preview of what the user will see when they try to search too quickly:

Preview

@evan-buss evan-buss merged commit 5d5114e into development Jan 1, 2022
@evan-buss evan-buss deleted the feature/rate-limit-searches branch January 1, 2022 20:01
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.

None yet

1 participant