💹 Prevent rate limiting by increasing sync frequency to 15 minutes

This commit is contained in:
Timothy Miller 2021-03-05 23:11:00 -05:00
parent 6b25c64846
commit d3cc054b03

View File

@ -158,8 +158,8 @@ def updateIPs():
if __name__ == '__main__': if __name__ == '__main__':
if(len(sys.argv) > 1): if(len(sys.argv) > 1):
if(sys.argv[1] == "--repeat"): if(sys.argv[1] == "--repeat"):
delay = 5*60 delay = 15*60
print("⏲️ Updating IPv4 (A) & IPv6 (AAAA) records every 5 minutes") print("⏲️ Updating IPv4 (A) & IPv6 (AAAA) records every 15 minutes")
next_time = time.time() next_time = time.time()
killer = GracefulExit() killer = GracefulExit()
while not killer.kill_now: while not killer.kill_now: