This commit is contained in:
2026-03-20 10:15:01 +07:00
parent f0e0bf4db8
commit f1ca42f772

View File

@@ -29,11 +29,11 @@ Both scripts run continuously in the background, performing periodic health chec
```julia
const ROUTER_IP = "192.168.88.1" # Target router IP address
const TIMEOUT_SECS = 30 # Request timeout in seconds
const ATTEMPTS_PER_CHECK = 3 # Number of ping attempts per check
const BACKOFF_BETWEEN_ATTEMPTS = 60 # Seconds between retry attempts
const ATTEMPTS_PER_CHECK = 1 # Number of ping attempts per check
const BACKOFF_BETWEEN_ATTEMPTS = 1 # Seconds between retry attempts
const FAILS_TO_REBOOT = 3 # Consecutive failures before reboot
const COOLDOWN_AFTER_REBOOT_SECS = 600 # Minimum seconds between reboots
const DRY_RUN = true # Set false to enable actual reboots
const DRY_RUN = false # Set false to enable actual reboots
const CHECK_INTERVAL_SECS = 60 # Check interval in seconds
```