mirror of https://github.com/scrapy/scrapy.git
CachingThreadedResolver: No need to store the reactor as an instance attribute
It's already done in the parent class
This commit is contained in:
parent
dee420a69c
commit
41f7ebf3ad
|
|
@ -19,7 +19,6 @@ class CachingThreadedResolver(ThreadedResolver):
|
|||
def __init__(self, reactor, cache_size, timeout):
|
||||
super(CachingThreadedResolver, self).__init__(reactor)
|
||||
dnscache.limit = cache_size
|
||||
self.reactor = reactor
|
||||
self.timeout = timeout
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in New Issue