mirror of https://github.com/scrapy/scrapy.git
This fix avoids to continuosly create new slot under certain cases, bug that prevents download_delay and max_concurrent_requests to work properly. The problem arises when the slot for a given domain becomes empty, but further requests for that domain werent still created by the spider. This is typical when spider creates requests one by one, or it makes requests to multiple domains and one or more of them are created in a rate enough slow that makes slot to be empty each time the response is fetched. The effect is that a new slot is created for each request under such conditions, and so the download_delay and max_concurrent_requests are not taking effect (because in order to apply, depends on an already existing slot for that domain). |
||
|---|---|---|
| bin | ||
| debian | ||
| docs | ||
| extras | ||
| scrapy | ||
| scrapyd | ||
| .coveragerc | ||
| .gitignore | ||
| .hgtags | ||
| AUTHORS | ||
| INSTALL | ||
| LICENSE | ||
| MANIFEST.in | ||
| Makefile.buildbot | ||
| README | ||
| setup.cfg | ||
| setup.py | ||
README
This is Scrapy, an opensource screen scraping framework written in Python. For more info visit the project home page at http://scrapy.org