summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-05 11:10:27 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-05 11:10:33 +0530
commit58469dcc1d51441510d1c3fc39f5034db55ed28b (patch)
treeefe769936752c4a3c20edeb46f34f861ec5157b6
parentfa2c193c95511edb529e22b21a365beae82336fa (diff)
kay/network: reduce retry timeout for dns and he, 5s -> 1s
-rw-r--r--hosts/kay/modules/hurricane.nix2
-rw-r--r--hosts/kay/modules/network.nix2
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
'';
};