Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Add more docs for TWISTED_REACTOR.

Andrey Rakhmatullina986792def6d
diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst
index 210c1def7..cff6d80cb 100644
--- a/docs/topics/settings.rst
+++ b/docs/topics/settings.rst
@@ -1638,10 +1638,18 @@ which raises :exc:`Exception`, becomes::
The default value of the :setting:`TWISTED_REACTOR` setting is ``None``, which
-means that Scrapy will not attempt to install any specific reactor, and the
-default reactor defined by Twisted for the current platform will be used. This
-is to maintain backward compatibility and avoid possible problems caused by
-using a non-default reactor.
+means that Scrapy will install the default reactor defined by Twisted for the
+current platform will be used. This is to maintain backward compatibility and
+avoid possible problems caused by using a non-default reactor.
+
+.. note::
+ .. versionchanged:: VERSION
+
+ Previously this setting had no effect in a spider
+ :attr:`~scrapy.Spider.custom_settings` attribute. Now it will be used, but
+ if you :ref:`run several spiders in one process <run-multiple-spiders>`,
+ they must not have different values for this setting, because they will use
+ a single reactor instance.
For additional information, see :doc:`core/howto/choosing-reactor`.