scrapy / scrapy

Scrapy, a fast high-level web crawling & scraping framework for Python.
https://scrapy.org
BSD 3-Clause "New" or "Revised" License
51.16k stars 10.35k forks source link

Complete coverage for the AutoThrottle extension #6245

Closed Gallaecio closed 2 months ago

Gallaecio commented 2 months ago

Also disables the plugin if AUTOTHROTTLE_TARGET_CONCURRENCY is equal or lower than 0.0.

codecov[bot] commented 2 months ago

Codecov Report

Merging #6245 (e019c18) into master (e208f82) will increase coverage by 0.23%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6245 +/- ## ========================================== + Coverage 88.67% 88.90% +0.23% ========================================== Files 161 161 Lines 11788 11790 +2 Branches 1912 1913 +1 ========================================== + Hits 10453 10482 +29 + Misses 1007 980 -27 Partials 328 328 ``` | [Files](https://app.codecov.io/gh/scrapy/scrapy/pull/6245?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scrapy) | Coverage Δ | | |---|---|---| | [scrapy/extensions/throttle.py](https://app.codecov.io/gh/scrapy/scrapy/pull/6245?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scrapy#diff-c2NyYXB5L2V4dGVuc2lvbnMvdGhyb3R0bGUucHk=) | `100.00% <100.00%> (+54.00%)` | :arrow_up: |