Scrapy, a fast high-level web crawling & scraping framework for Python.
Rename scrapy/squeue.py to scrapy/squeues.py
Julia Medinaf5bdf64f9cfd
diff --git a/docs/faq.rst b/docs/faq.rstindex d98b06056..212baa585 100644--- a/docs/faq.rst+++ b/docs/faq.rst@@ -94,8 +94,8 @@ in most cases. If you do want to crawl in true `BFO order`_, you can do it bysetting the following settings::DEPTH_PRIORITY = 1- SCHEDULER_DISK_QUEUE = 'scrapy.squeue.PickleFifoDiskQueue'- SCHEDULER_MEMORY_QUEUE = 'scrapy.squeue.FifoMemoryQueue'+ SCHEDULER_DISK_QUEUE = 'scrapy.squeues.PickleFifoDiskQueue'+ SCHEDULER_MEMORY_QUEUE = 'scrapy.squeues.FifoMemoryQueue'My Scrapy crawler has memory leaks. What can I do?--------------------------------------------------diff --git a/scrapy/settings/default_settings.py b/scrapy/settings/default_settings.pyindex 9debaabc3..f2098d626 100644--- a/scrapy/settings/default_settings.py+++ b/scrapy/settings/default_settings.py@@ -215,8 +215,8 @@ RETRY_PRIORITY_ADJUST = -1ROBOTSTXT_OBEY = FalseSCHEDULER = 'scrapy.core.scheduler.Scheduler'-SCHEDULER_DISK_QUEUE = 'scrapy.squeue.PickleLifoDiskQueue'-SCHEDULER_MEMORY_QUEUE = 'scrapy.squeue.LifoMemoryQueue'+SCHEDULER_DISK_QUEUE = 'scrapy.squeues.PickleLifoDiskQueue'+SCHEDULER_MEMORY_QUEUE = 'scrapy.squeues.LifoMemoryQueue'SPIDER_LOADER_CLASS = 'scrapy.spiderloader.SpiderLoader'diff --git a/scrapy/squeue.py b/scrapy/squeues.pysimilarity index 100%rename from scrapy/squeue.pyrename to scrapy/squeues.pydiff --git a/tests/test_squeue.py b/tests/test_squeues.pysimilarity index 97%rename from tests/test_squeue.pyrename to tests/test_squeues.pyindex 16014a897..b3e9a2208 100644--- a/tests/test_squeue.py+++ b/tests/test_squeues.py@@ -1,5 +1,5 @@from queuelib.tests import test_queue as t-from scrapy.squeue import MarshalFifoDiskQueue, MarshalLifoDiskQueue, PickleFifoDiskQueue, PickleLifoDiskQueue+from scrapy.squeues import MarshalFifoDiskQueue, MarshalLifoDiskQueue, PickleFifoDiskQueue, PickleLifoDiskQueuefrom scrapy.item import Item, Fieldfrom scrapy.http import Requestfrom scrapy.loader import ItemLoader