From 58469dcc1d51441510d1c3fc39f5034db55ed28b Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Fri, 5 Jan 2024 11:10:27 +0530 Subject: kay/network: reduce retry timeout for dns and he, 5s -> 1s --- hosts/kay/modules/hurricane.nix | 2 +- hosts/kay/modules/network.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/kay/modules/hurricane.nix b/hosts/kay/modules/hurricane.nix index 3630a01..b32601c 100644 --- a/hosts/kay/modules/hurricane.nix +++ b/hosts/kay/modules/hurricane.nix @@ -76,7 +76,7 @@ in auth_url="https://$username:$update_key@ipv4.tunnelbroker.net/nic/update?hostname=$tunnel_id" until curl --silent "$auth_url"; do - sleep 5 + sleep 1 done while [ ! -e /sys/class/net/${iface} ]; do diff --git a/hosts/kay/modules/network.nix b/hosts/kay/modules/network.nix index c31765b..154667d 100644 --- a/hosts/kay/modules/network.nix +++ b/hosts/kay/modules/network.nix @@ -58,7 +58,7 @@ in auth_url="https://dynamicdns.park-your-domain.com/update?host=@&domain=${domain}&password=''${api_key}&ip=" until curl --silent "$auth_url$wan_ip"; do - sleep 5 + sleep 1 done ''; }; -- cgit v1.2.3