Skip to content

Commit

Permalink
Merge pull request #227 from release-engineering/longer-timeout-fm-sc…
Browse files Browse the repository at this point in the history
…raper

Increase the request timeout to Freshmaker's API in the Freshmaker scraper
  • Loading branch information
mprahl committed Feb 25, 2019
2 parents 2042800 + 14534b3 commit d108a55
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 @@ -43,7 +43,7 @@ def query_api_and_update_neo4j(self):
fm_url = self.freshmaker_url
while True:
log.debug('Querying {0}'.format(fm_url))
rv_json = session.get(fm_url, timeout=15).json()
rv_json = session.get(fm_url, timeout=60).json()
for fm_event in rv_json['items']:
try:
int(fm_event['search_key'])
Expand Down

0 comments on commit d108a55

Please sign in to comment.