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( @@ -51,6 +51,10 @@ $search->sort(
'asc'
);
$search->sort( // randomize new pages queue
'RAND()'
);
$search->limit(
$config->cli->document->crawl->queue->limit
);

Loading…
Cancel
Save