Browse Source

randomize new pages queue

main
ghost 1 year ago
parent
commit
08995e6199
  1. 4
      src/cli/document/crawl.php

4
src/cli/document/crawl.php

@ -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…
Cancel
Save