Merge branch 'round-robin-scheduler-tested' of github.com:whalebot-helmsman/scrapy into round-robin-scheduler-tested

This commit is contained in:
Vostretsov Nikita 2019-03-29 10:31:52 +00:00
commit 539a08cb85
2 changed files with 4 additions and 4 deletions

View File

@ -42,11 +42,11 @@ efficient broad crawl.
Use proper :setting:`SCHEDULER_PRIORITY_QUEUE`
==============================================
Default scrapy's scheduler priority queue is ``'queuelib.PriorityQueue'``.
It works best during single domain crawl. And it does not work well with crawling
Scrapys default scheduler priority queue is ``'scrapy.pqueues.ScrapyPriorityQueue'``.
It works best during single-domain crawl. It does not work well with crawling
many different domains in parallel
To apply recommended priority queue use::
To apply the recommended priority queue use::
SCHEDULER_PRIORITY_QUEUE = 'scrapy.pqueues.DownloaderAwarePriorityQueue'

View File

@ -1157,7 +1157,7 @@ SCHEDULER_PRIORITY_QUEUE
------------------------
Default: ``'scrapy.pqueues.ScrapyPriorityQueue'``
Type of priority queue used by scheduler. Another available type is
Type of priority queue used by the scheduler. Another available type is
``scrapy.pqueues.DownloaderAwarePriorityQueue``.
``scrapy.pqueues.DownloaderAwarePriorityQueue`` works better than
``scrapy.pqueues.ScrapyPriorityQueue`` when you crawl many different