mirror of https://github.com/scrapy/scrapy.git
improved explanation comment of the RequestLimitMiddleware
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40168
This commit is contained in:
parent
ee59bd87ab
commit
9b0dd66ec1
|
|
@ -1,8 +1,8 @@
|
|||
"""
|
||||
Limits the scheduler request queue from the point of view of the spider.
|
||||
That is, any requests generated by the spider, which its scheduling action
|
||||
would result in an excess over the allowed limit of scheduler request queue,
|
||||
will be filtered out.
|
||||
That is, if the scheduler queue contains an equal or greater ammount of
|
||||
requests than the specified limit, the further requests generated by the
|
||||
spider will be ignored.
|
||||
The limit is setted from the spider attribute "requests_queue_size". If not
|
||||
found, from the scrapy setting "REQUESTS_QUEUE_SIZE". If not found, no limit
|
||||
will be applied. If given a value of 0, no limit will be applied.
|
||||
|
|
|
|||
Loading…
Reference in New Issue