Browse Source

set crawler queue order priority to item rank, rand()

main
ghost 2 years ago
parent
commit
73f212e3d7
  1. 4
      library/mysql.php

4
library/mysql.php

@ -521,7 +521,7 @@ class MySQL { @@ -521,7 +521,7 @@ class MySQL {
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);
@ -553,7 +553,7 @@ class MySQL { @@ -553,7 +553,7 @@ class MySQL {
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);

Loading…
Cancel
Save