|
@@ -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)
|