Changeset 174124 in webkit


Ignore:
Timestamp:
Sep 30, 2014 2:30:22 PM (10 years ago)
Author:
ap@apple.com
Message:

Windows EWS went purple when it failed to build
https://bugs.webkit.org/show_bug.cgi?id=137267

Reviewed by Ryosuke Niwa.

  • QueueStatusServer/app.yaml: Update the version.
  • QueueStatusServer/model/attachment.py: (Attachment._calculate_queue_positions):

Make it work for style and win-ews queues.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r174123 r174124  
     12014-09-30  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Windows EWS went purple when it failed to build
     4        https://bugs.webkit.org/show_bug.cgi?id=137267
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        * QueueStatusServer/app.yaml: Update the version.
     9
     10        * QueueStatusServer/model/attachment.py: (Attachment._calculate_queue_positions):
     11        Make it work for style and win-ews queues.
     12
    1132014-09-29  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Tools/QueueStatusServer/app.yaml

    r174115 r174124  
    11application: webkit-queues
    2 version: 174115 # Bugzilla bug ID of last major change
     2version: 174124 # Bugzilla bug ID of last major change
    33runtime: python
    44api_version: 1
  • trunk/Tools/QueueStatusServer/model/attachment.py

    r174087 r174124  
    6767
    6868    def _calculate_queue_positions(self):
    69         all_work_items = WorkItems.all().fetch(limit=len(Queue.all()))
     69        # We don't know how many rows there are in the table (as there can be stale rows
     70        # from queues that we no longer have), but it's certainly fewer that 1000.
     71        all_work_items = WorkItems.all().fetch(limit=1000)
    7072        return dict([(items.queue.name(), items.display_position_for_attachment(self.id)) for items in all_work_items if items.queue])
    7173
Note: See TracChangeset for help on using the changeset viewer.