Skip to content

Commit

Permalink
Merge pull request #232 from release-engineering/freshmaker-per-page
Browse files Browse the repository at this point in the history
Only request 50 Freshmaker events per page to avoid timeouts in the scrapers
  • Loading branch information
mprahl committed Mar 25, 2019
2 parents 93f571c + 2033909 commit 58e1110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/freshmaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class FreshmakerScraper(BaseScraper):
"""Scrapes the Freshmaker API."""

freshmaker_url = "https://freshmaker.engineering.redhat.com/api/1/events/?per_page=100"
freshmaker_url = "https://freshmaker.engineering.redhat.com/api/1/events/?per_page=50"

def run(self, since=None, until=None):
"""
Expand Down

0 comments on commit 58e1110

Please sign in to comment.