mirror of
https://github.com/YGGverse/Yo.git
synced 2025-02-11 06:14:25 +00:00
randomize new pages queue
This commit is contained in:
parent
3f7eb2f0e3
commit
08995e6199
@ -51,6 +51,10 @@ $search->sort(
|
|||||||
'asc'
|
'asc'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$search->sort( // randomize new pages queue
|
||||||
|
'RAND()'
|
||||||
|
);
|
||||||
|
|
||||||
$search->limit(
|
$search->limit(
|
||||||
$config->cli->document->crawl->queue->limit
|
$config->cli->document->crawl->queue->limit
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user