Browse Source

disable sort by RAND() in crawler queue

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

4
src/cli/document/crawl.php

@ -56,10 +56,6 @@ $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