From: Russell Jones Date: Tue, 16 Dec 2014 01:23:55 +0000 (-0800) Subject: Removing comments. X-Git-Tag: v0.4.26~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2eb5d6b95ed5b81de7ef8a2c82c50f8cc71a814f;p=flanker.git Removing comments. --- diff --git a/flanker/addresslib/validate.py b/flanker/addresslib/validate.py index aac8154..116ad1f 100644 --- a/flanker/addresslib/validate.py +++ b/flanker/addresslib/validate.py @@ -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