From 9b0dd66ec1d841f3c30a7cd733d63e64b06e843c Mon Sep 17 00:00:00 2001 From: olveyra Date: Fri, 15 Aug 2008 12:35:09 +0000 Subject: [PATCH] improved explanation comment of the RequestLimitMiddleware --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40168 --- scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py b/scrapy/trunk/scrapy/contrib/spidermiddleware/limit.py index 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 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.