Disable SetOption verification to prevent overwhelming devices

- Verification was doubling the number of HTTP requests per setting
- Devices were refusing connections due to request overload
- Trust command success based on response, don't verify separately
- Fixes connection refused and timeout errors
This commit is contained in:
Mike Geppert 2026-01-07 19:58:04 -06:00
parent c1eb707519
commit 72b21bc838

View File

@ -180,10 +180,8 @@ class ConsoleSettingsManager:
self.logger.error(f"{device_name}: Failed to set {param_name} after 3 attempts") self.logger.error(f"{device_name}: Failed to set {param_name} after 3 attempts")
return False return False
# Verify the command was applied (if possible) # Verification disabled - it overwhelms devices with extra queries
if not self._verify_command(device_ip, device_name, param_name, param_value): # Trust that the command was applied if no error was returned
self.logger.warning(f"{device_name}: Verification failed for {param_name}")
# Don't return False here - some commands can't be verified
# Check if this is a rule definition - if so, enable it # Check if this is a rule definition - if so, enable it
if param_name.lower().startswith('rule'): if param_name.lower().startswith('rule'):