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