Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
FaultException authored and Gerrit Code Review committed Oct 17, 2012
1 parent cd5ea04 commit 9596c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/roomservice.py
Expand Up @@ -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:
Expand Down

0 comments on commit 9596c1c

Please sign in to comment.