Changeset 189839 in webkit
- Timestamp:
- Sep 15, 2015 7:04:31 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r189833 r189839 1 2015-09-15 Aakash Jain <aakash_jain@apple.com> 2 3 Appscale queue status json output lacks bots 4 https://bugs.webkit.org/show_bug.cgi?id=149194 5 <rdar://problem/22171089> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * QueueStatusServer/handlers/queuestatusjson.py: 10 (QueueStatusJSON._bots): Order the results by date so as to get latest events, this was default in AppEngine. 11 * QueueStatusServer/index.yaml: Index according to appscale requirements. 12 1 13 2015-09-15 Brent Fulgham <bfulgham@apple.com> 2 14 -
trunk/Tools/QueueStatusServer/handlers/queuestatusjson.py
r174343 r189839 79 79 def _bots(self, queue): 80 80 # First, collect all bots that ever served this queue. 81 bot_id_statuses = QueueStatus.all(projection=['bot_id'], distinct=True).filter('queue_name =', queue.name()). fetch(500)81 bot_id_statuses = QueueStatus.all(projection=['bot_id'], distinct=True).filter('queue_name =', queue.name()).order('-date').fetch(500) 82 82 bot_ids = list(entry.bot_id for entry in bot_id_statuses) 83 83 result = [] -
trunk/Tools/QueueStatusServer/index.yaml
r187774 r189839 50 50 - kind: QueueStatus 51 51 properties: 52 - name: bot_id53 52 - name: queue_name 54 53 - name: date 55 54 direction: desc 55 - name: bot_id 56 56 57 57 - kind: QueueStatus
Note: See TracChangeset
for help on using the changeset viewer.