Skip to content

Commit

Permalink
Removing comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Jones committed Dec 16, 2014
1 parent e5da460 commit 2eb5d6b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions flanker/addresslib/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,13 @@ 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
bstart = time.time()
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
Expand Down

0 comments on commit 2eb5d6b

Please sign in to comment.