From 458559d52c320df53a4387e4f0bb62d3a6bf9830 Mon Sep 17 00:00:00 2001 From: Timothy Miller Date: Sun, 21 Mar 2021 20:18:55 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20Increase=20sync=20frequency=20to?= =?UTF-8?q?=205=20minutes=20to=20prevent=20potential=20gateway=20timeout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloudflare-ddns.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cloudflare-ddns.py b/cloudflare-ddns.py index 7f5b8e6..051031f 100755 --- a/cloudflare-ddns.py +++ b/cloudflare-ddns.py @@ -187,13 +187,13 @@ if __name__ == '__main__': print("⚙️ Individually disable IPv4 or IPv6 with new config.json options. Read more about it here: https://github.com/timothymiller/cloudflare-ddns/blob/master/README.md") if(len(sys.argv) > 1): if(sys.argv[1] == "--repeat"): - delay = 60 + delay = 5*60 if ipv4_enabled and ipv6_enabled: - print("🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every minute") + print("🕰️ Updating IPv4 (A) & IPv6 (AAAA) records every 5 minutes") elif ipv4_enabled and not ipv6_enabled: - print("🕰️ Updating IPv4 (A) records every minute") + print("🕰️ Updating IPv4 (A) records every 5 minutes") elif ipv6_enabled and not ipv4_enabled: - print("🕰️ Updating IPv6 (AAAA) records every minute") + print("🕰️ Updating IPv6 (AAAA) records every 5 minutes") next_time = time.time() killer = GracefulExit() prev_ips = None