mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
randomize new pages queue
This commit is contained in:
parent
3f7eb2f0e3
commit
08995e6199
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue