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:
parent
c1eb707519
commit
72b21bc838
@ -179,11 +179,9 @@ class ConsoleSettingsManager:
|
|||||||
if not success:
|
if not success:
|
||||||
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'):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user