Download src/lib/tunnel/shared/watchdogConfig.js from heyeyydss/api9nin: direct link, hf CLI and curl.
- Browser
- Download file 461 Bytes
-
https://huggingface.co/spaces/heyeyydss/api9nin/resolve/main/src/lib/tunnel/shared/watchdogConfig.js
- Command line
-
hf download hf://spaces/heyeyydss/api9nin/src/lib/tunnel/shared/watchdogConfig.js
-
curl -L -o watchdogConfig.js https://huggingface.co/spaces/heyeyydss/api9nin/resolve/main/src/lib/tunnel/shared/watchdogConfig.js
461 Bytes
| // Watchdog + network monitor timings (shared by both services) | |
| export const RESTART_COOLDOWN_MS = 120000; | |
| export const NETWORK_SETTLE_MS = 2500; | |
| export const WATCHDOG_INTERVAL_MS = 60000; | |
| export const NETWORK_CHECK_INTERVAL_MS = 5000; | |
| // Skip virtual/transient interfaces (tailscale utun, AirDrop awdl, bridges) that flap and cause false netchange | |
| export const VIRTUAL_IFACE_REGEX = /^(utun|awdl|llw|anpi|bridge|gif|stf|ipsec|ap|tun|tap|vmnet|veth|docker)/i; | |