index homepages and shorter URL with higher priority

This commit is contained in:
ghost 2023-06-04 11:38:56 +03:00
parent 3b1590cf7b
commit f49076bb0c
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ GET m=SphinxQL
* [x] MIME Content-type settings * [x] MIME Content-type settings
* [x] Ban non-condition links to prevent extra requests * [x] Ban non-condition links to prevent extra requests
* [x] Debug log * [x] Debug log
* [ ] Indexing new sites homepage in higher priority * [x] Index homepages and shorter URL with higher priority
* [ ] Redirect codes extended processing * [ ] Redirect codes extended processing
* [ ] Palette image index / filter * [ ] Palette image index / filter
* [ ] Crawl queue balancer, that depends of CPU available * [ ] Crawl queue balancer, that depends of CPU available

View File

@ -607,7 +607,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
AND `hostPage`.`timeBanned` IS NULL AND `hostPage`.`timeBanned` IS NULL
ORDER BY RAND() ORDER BY LENGTH(`hostPage`.`uri`) ASC, RAND()
LIMIT ' . (int) $limit); LIMIT ' . (int) $limit);