update
This commit is contained in:
@@ -29,11 +29,11 @@ Both scripts run continuously in the background, performing periodic health chec
|
|||||||
```julia
|
```julia
|
||||||
const ROUTER_IP = "192.168.88.1" # Target router IP address
|
const ROUTER_IP = "192.168.88.1" # Target router IP address
|
||||||
const TIMEOUT_SECS = 30 # Request timeout in seconds
|
const TIMEOUT_SECS = 30 # Request timeout in seconds
|
||||||
const ATTEMPTS_PER_CHECK = 3 # Number of ping attempts per check
|
const ATTEMPTS_PER_CHECK = 1 # Number of ping attempts per check
|
||||||
const BACKOFF_BETWEEN_ATTEMPTS = 60 # Seconds between retry attempts
|
const BACKOFF_BETWEEN_ATTEMPTS = 1 # Seconds between retry attempts
|
||||||
const FAILS_TO_REBOOT = 3 # Consecutive failures before reboot
|
const FAILS_TO_REBOOT = 3 # Consecutive failures before reboot
|
||||||
const COOLDOWN_AFTER_REBOOT_SECS = 600 # Minimum seconds between reboots
|
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
|
const CHECK_INTERVAL_SECS = 60 # Check interval in seconds
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user