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

Add rate limiting to fix issue 77 #81

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Conversation

Jonakemon
Copy link
Collaborator

We now use the RechtspraakScrapeSession with built in rate limiting to make sure we don't 'hammer' the website of the judiciary. We limit scraping to 30 requests per minute. Note that this means that enriching the 5612 judges currently on openrechtspraak.nl will take approximately 3h10m every day.

Closes #77.

@Jonakemon Jonakemon requested a review from siccovansas January 18, 2025 21:49
@Jonakemon Jonakemon mentioned this pull request Jan 18, 2025
Copy link
Member

@siccovansas siccovansas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@siccovansas siccovansas merged commit 2296def into develop Jan 21, 2025
4 checks passed
@siccovansas siccovansas deleted the fix/77-ratelimiting branch January 21, 2025 11:14
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.

Database error
2 participants