From 2621b97c941fad3673e096a4bae436aa21da58eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Mon, 8 Jul 2024 08:17:11 +0200 Subject: [PATCH] =?UTF-8?q?SCRAPER=5FMAX=5FACTIVE=5FSIZE=20=E2=86=92=20SCR?= =?UTF-8?q?APER=5FSLOT=5FMAX=5FACTIVE=5FSIZE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scrapy/core/engine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrapy/core/engine.py b/scrapy/core/engine.py index 5aae35f0c..af78f1545 100644 --- a/scrapy/core/engine.py +++ b/scrapy/core/engine.py @@ -125,13 +125,13 @@ class ExecutionEngine: default_response_max_active_size = 5000000 scraper_max_active_size = self.settings.getint( - "SCRAPER_MAX_ACTIVE_SIZE", 5000000 + "SCRAPER_SLOT_MAX_ACTIVE_SIZE", 5000000 ) if scraper_max_active_size != default_response_max_active_size: warn( ( - "The SCRAPER_MAX_ACTIVE_SIZE setting is deprecated, use " - "RESPONSE_MAX_ACTIVE_SIZE instead." + "The SCRAPER_SLOT_MAX_ACTIVE_SIZE setting is deprecated, " + "use RESPONSE_MAX_ACTIVE_SIZE instead." ), ScrapyDeprecationWarning, )