use 12 minutes instead of 15 as delay in contact_is_good

This commit is contained in:
Jack Robison 2018-05-29 16:25:10 -04:00
parent 30c4b160f1
commit 0e80123615
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -68,7 +68,7 @@ class _Contact(object):
""" """
failures = self.failures failures = self.failures
now = self.getTime() now = self.getTime()
delay = constants.refreshTimeout / 4 delay = constants.checkRefreshInterval
if failures: if failures:
if self.lastReplied and len(failures) >= 2 and self.lastReplied < failures[-2]: if self.lastReplied and len(failures) >= 2 and self.lastReplied < failures[-2]: