summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2015-10-21 21:14:52 +0200
committerTill Maas <opensource@till.name>2015-10-21 21:14:52 +0200
commit60cd64fc0ec3c77bd53d081d45376dcdf954ec2a (patch)
tree6dc715b90af9d36ec9f4d2bc5fbe4f6a926e34f5
parentc932687adbcac55ea3fd549982496d83f8e600c1 (diff)
downloadfedora-easy-karma-60cd64fc0ec3c77bd53d081d45376dcdf954ec2a.tar.gz
fedora-easy-karma-60cd64fc0ec3c77bd53d081d45376dcdf954ec2a.tar.xz
fedora-easy-karma-60cd64fc0ec3c77bd53d081d45376dcdf954ec2a.zip
Increase Bodhi query limit to 1000
1000 is the newly allowed maximum.
-rwxr-xr-xfedora-easy-karma.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fedora-easy-karma.py b/fedora-easy-karma.py
index 722d409..0c53244 100755
--- a/fedora-easy-karma.py
+++ b/fedora-easy-karma.py
@@ -720,7 +720,7 @@ class FedoraEasyKarma(object):
single list of updates."""
query_args = {"release": release,
- "limit": 100
+ "limit": 1000
}
if pending:
query_args["request"] = "testing"
@@ -730,8 +730,8 @@ class FedoraEasyKarma(object):
updates = []
try:
- # since bodhi now has a limit of 100 but multiple pages, get ALL
- # of the updates before starting to process
+ # since bodhi has a query limit but multiple pages, get ALL of the
+ # updates before starting to process
result = bodhi_client.query(**query_args)
self.debug("Queried Bodhi page 1", False)
updates.extend(result['updates'])