1
0
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:
samson0v 2024-05-01 16:22:20 +03:00
parent 783c7e1efe
commit 2ea3235a82
2 changed files with 2 additions and 3 deletions

View File

@ -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):

View File

@ -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 = []