mirror of https://github.com/scrapy/scrapy.git
we don`t need these methods anymore
This commit is contained in:
parent
b5cc1cfad3
commit
587c4bd0f9
|
|
@ -141,15 +141,6 @@ class Scheduler(object):
|
|||
if self.dqs:
|
||||
return self.dqs.pop()
|
||||
|
||||
def _newmq(self, priority):
|
||||
""" Factory for creating memory queues. """
|
||||
return self.mqclass()
|
||||
|
||||
def _newdq(self, priority):
|
||||
""" Factory for creating disk queues. """
|
||||
path = join(self.dqdir, 'p%s' % (priority, ))
|
||||
return self.dqclass(self.crawler, path)
|
||||
|
||||
def _mq(self):
|
||||
""" Create a new priority queue instance, with in-memory storage """
|
||||
return create_instance(self.pqclass,
|
||||
|
|
|
|||
Loading…
Reference in New Issue