Scrapy, a fast high-level web crawling & scraping framework for Python.
improved explanation comment of the RequestLimitMiddleware
olveyra9b0dd66ec1d8
diff --git a/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py b/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.pyindex 3bf9d9629..18fea0406 100644--- a/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py+++ b/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py@@ -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 notfound, from the scrapy setting "REQUESTS_QUEUE_SIZE". If not found, no limitwill be applied. If given a value of 0, no limit will be applied.