mirror of
				https://github.com/thingsboard/thingsboard-gateway
				synced 2025-10-26 22:31:42 +08:00 
			
		
		
		
	Fixed handling active connectors
This commit is contained in:
		
							parent
							
								
									783c7e1efe
								
							
						
					
					
						commit
						2ea3235a82
					
				|  | @ -32,7 +32,7 @@ except ImportError: | |||
|     from tb_gateway_mqtt import TBGatewayMqttClient, TBDeviceMqttClient | ||||
| 
 | ||||
| import tb_device_mqtt | ||||
| tb_device_mqtt.DEFAULT_TIMEOUT = 1 | ||||
| tb_device_mqtt.DEFAULT_TIMEOUT = 3 | ||||
| 
 | ||||
| class TBClient(threading.Thread): | ||||
|     def __init__(self, config, config_folder_path, logger): | ||||
|  |  | |||
|  | @ -364,8 +364,7 @@ class RemoteConfigurator: | |||
|         LOG.debug('Processing active connectors configuration update...') | ||||
| 
 | ||||
|         for connector_name in config: | ||||
|             if self._gateway.connectors_configs.get(connector_name) is None: | ||||
|                 self._gateway._check_shared_attributes(shared_keys=[connector_name]) | ||||
|             self._gateway._check_shared_attributes(shared_keys=[connector_name]) | ||||
| 
 | ||||
|         has_changed = False | ||||
|         for_deletion = [] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 samson0v
						samson0v