From 9596c1c86dc56f0dcb10b725424e11bc55175532 Mon Sep 17 00:00:00 2001 From: Daniel Bateman Date: Wed, 17 Oct 2012 02:06:27 -0500 Subject: [PATCH] roomservice: Bump github request per_page to 100 Change the number of repos per page from the default 30 to 100. We seem to be hitting the rate limit on the jenkins server. Change-Id: Ie733feaa0414cbfebb7efcfc1e24d94e1e466d1b --- tools/roomservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/roomservice.py b/tools/roomservice.py index 8d1c5722aad..d283a674464 100755 --- a/tools/roomservice.py +++ b/tools/roomservice.py @@ -39,7 +39,7 @@ page = 1 while not depsonly: - result = json.loads(urllib2.urlopen("https://api.github.com/users/CyanogenMod/repos?page=%d" % page).read()) + result = json.loads(urllib2.urlopen("https://api.github.com/users/CyanogenMod/repos?per_page=100&page=%d" % page).read()) if len(result) == 0: break for res in result: