]> khamidou — GitHub mirrors - flanker.git/commitdiff
Removing comments.
authorRussell Jones <rjones@mailgunhq.com>
Tue, 16 Dec 2014 01:23:55 +0000 (17:23 -0800)
committerRussell Jones <rjones@mailgunhq.com>
Tue, 16 Dec 2014 01:23:55 +0000 (17:23 -0800)
flanker/addresslib/validate.py

index aac815492a50cc35445e8ccf98b4e065f3d80789..116ad1f616fbbef0c59b033f0736886132c65e5a 100644 (file)
@@ -138,8 +138,6 @@ def mail_exchanger_lookup(domain, metrics=False):
         mx_hosts = lookup_domain(domain)
         mtimes['dns_lookup'] += time.time() - bstart
         if mx_hosts is None:
-            #commenting out falses in the cache, be sure to monitor backend load. - Jason
-            #mx_cache[domain] = False
             return None, mtimes
 
     # test connecting to the mx exchanger
@@ -147,8 +145,6 @@ def mail_exchanger_lookup(domain, metrics=False):
     mail_exchanger = connect_to_mail_exchanger(mx_hosts)
     mtimes['mx_conn'] = time.time() - bstart
     if mail_exchanger is None:
-        #commenting out falses in the cache, be sure to monitor backend load. - Jason
-        #mx_cache[domain] = False
         return None, mtimes
 
     # valid mx records, connected to mail exchanger, return True