瀏覽代碼

增加flowpool 排序

luojunhui 5 月之前
父節點
當前提交
9d92cd009d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tasks/history_task.py

+ 1 - 1
tasks/history_task.py

@@ -52,7 +52,7 @@ class historyContentIdTask(object):
                 group by content_id
             ) VID on ART.content_id = VID.content_id and VID.cnt >= 3
             WHERE ART.content_status = 0 and ART.process_times <= 3
-            ORDER BY request_timestamp
+            ORDER BY ART.flow_pool_level, ART.request_timestamp
             LIMIT {self.history_coroutines};
         """
         tasks = await self.mysql_client.async_select(sql=select_sql1)