mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-09 06:17:52 +00:00
set crawler queue order priority to item rank, rand()
This commit is contained in:
parent
9ed8411d2f
commit
73f212e3d7
@ -521,7 +521,7 @@ class MySQL {
|
|||||||
|
|
||||||
WHERE (`hostPage`.`timeUpdated` IS NULL OR `hostPage`.`timeUpdated` < ? ) AND `host`.`status` <> 0
|
WHERE (`hostPage`.`timeUpdated` IS NULL OR `hostPage`.`timeUpdated` < ? ) AND `host`.`status` <> 0
|
||||||
|
|
||||||
ORDER BY `hostPage`.`hostPageId`
|
ORDER BY `hostPage`.`rank` DESC, RAND()
|
||||||
|
|
||||||
LIMIT ' . (int) $limit);
|
LIMIT ' . (int) $limit);
|
||||||
|
|
||||||
@ -553,7 +553,7 @@ class MySQL {
|
|||||||
|
|
||||||
WHERE (`hostImage`.`timeUpdated` IS NULL OR `hostImage`.`timeUpdated` < ? ) AND `host`.`status` <> 0
|
WHERE (`hostImage`.`timeUpdated` IS NULL OR `hostImage`.`timeUpdated` < ? ) AND `host`.`status` <> 0
|
||||||
|
|
||||||
ORDER BY `hostImage`.`hostImageId`
|
ORDER BY `hostImage`.`rank` DESC, RAND()
|
||||||
|
|
||||||
LIMIT ' . (int) $limit);
|
LIMIT ' . (int) $limit);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user