| Index: scripts/master/pubsub_json_status_push.py
|
| diff --git a/scripts/master/pubsub_json_status_push.py b/scripts/master/pubsub_json_status_push.py
|
| index 8df82064e8b7a81fb1a9bd728faebfc171f967d0..06b5b941323e5cc268d17df90242216166cf8c2c 100644
|
| --- a/scripts/master/pubsub_json_status_push.py
|
| +++ b/scripts/master/pubsub_json_status_push.py
|
| @@ -372,10 +372,10 @@ class StatusPush(StatusReceiverMultiService):
|
| # This requires a deferred call since the data is queried from
|
| # the postgres DB (sigh).
|
| pending = yield builder.getPendingBuildRequestStatuses()
|
| - # Optimization cheat: only get the first 75 pending builds.
|
| - # This caps the amount of postgres db calls for really out of
|
| - # control builders
|
| - pending = pending[:75]
|
| + # Optimization cheat: only get the first 25 pending builds.
|
| + # This caps the amount of postgres db calls and json size for really out
|
| + # of control builders
|
| + pending = pending[:25]
|
| pendingStates = yield defer.DeferredList(
|
| [p.asDict_async() for p in pending])
|
| # Not included: basedir, cachedBuilds.
|
|
|