diff --git a/respodns/ip_info.py b/respodns/ip_info.py index b22af89..2cbca62 100644 --- a/respodns/ip_info.py +++ b/respodns/ip_info.py @@ -72,6 +72,7 @@ class IpInfoByIpApi(IpInfoBase): if x_remaining == 0: self.cooldown = time() + x_cooldown + self.cooldown += 1.0 # still too frequent according to them return None # no error @@ -119,7 +120,7 @@ class IpInfoByIpApi(IpInfoBase): err = "too many lines" else: err = "not ok" - self.cooldown = time() + 60 + self.cooldown = time() + 30 writer.close()