CachingThreadedResolver: No need to store the reactor as an instance attribute

It's already done in the parent class
This commit is contained in:
Eugenio Lacuesta 2020-01-17 12:40:49 -03:00
parent dee420a69c
commit 41f7ebf3ad
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
1 changed files with 0 additions and 1 deletions

View File

@ -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