webkit-queues queue-status page should should list more recent statuses
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Aug 2016 22:52:06 +0000 (22:52 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Aug 2016 22:52:06 +0000 (22:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=161220

Reviewed by Daniel Bates.

* QueueStatusServer/handlers/queuestatus.py:
(QueueStatus._fetch_statuses): Increase the number of recent statuses from 15 to 50.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/QueueStatusServer/handlers/queuestatus.py

index 67ffa13..ab03be8 100644 (file)
@@ -1,3 +1,13 @@
+2016-08-26  Aakash Jain  <aakash_jain@apple.com>
+
+        webkit-queues queue-status page should should list more recent statuses
+        https://bugs.webkit.org/show_bug.cgi?id=161220
+
+        Reviewed by Daniel Bates.
+
+        * QueueStatusServer/handlers/queuestatus.py:
+        (QueueStatus._fetch_statuses): Increase the number of recent statuses from 15 to 50.
+
 2016-08-26  Dan Bernstein  <mitz@apple.com>
 
         [Cocoa] Infinite recursion calling -charValue on a WKNSNumber
index 4f4e2d2..1f2c7e7 100644 (file)
@@ -62,7 +62,7 @@ class QueueStatus(webapp.RequestHandler):
         statuses.filter("queue_name =", queue.name())
         if bot_id:
             statuses.filter("bot_id =", bot_id)
-        return statuses.order("-date").fetch(15)
+        return statuses.order("-date").fetch(50)
 
     def _fetch_last_message_matching(self, queue, bot_id, message):
         statuses = queuestatus.QueueStatus.all()