diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-05 11:10:27 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-05 11:10:33 +0530 |
commit | 58469dcc1d51441510d1c3fc39f5034db55ed28b (patch) | |
tree | efe769936752c4a3c20edeb46f34f861ec5157b6 /hosts/kay/modules | |
parent | fa2c193c95511edb529e22b21a365beae82336fa (diff) |
kay/network: reduce retry timeout for dns and he, 5s -> 1s
Diffstat (limited to 'hosts/kay/modules')
-rw-r--r-- | hosts/kay/modules/hurricane.nix | 2 | ||||
-rw-r--r-- | 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 ''; }; |