Learn more about these different git repos.
Other Git URLs
e6d3c15
@@ -115,7 +115,7 @@
data = r.json()
errata_id = str(data["content"]["content"]["errata_id"])
- url = FRESHMAKER_URL + "events/?search_key=%s" % errata_id
+ url = FRESHMAKER_URL + "events/?search_key=%s&per_page=1" % errata_id
r = requests.get(url)
r.raise_for_status()
Here, we don't actually process the results of the query beyond looking for the total integer that is reported.
total
This should speed things up, and get us around some of these 504 gateway timeouts.
LGTM!
Pull-Request has been merged by jkaluza
Here, we don't actually process the results of the query beyond looking for the
total
integer that is reported.This should speed things up, and get us around some of these 504 gateway
timeouts.