diff --git a/thingsboard_gateway/gateway/tb_client.py b/thingsboard_gateway/gateway/tb_client.py index 6b084b16..41e78431 100644 --- a/thingsboard_gateway/gateway/tb_client.py +++ b/thingsboard_gateway/gateway/tb_client.py @@ -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): diff --git a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py index 2ba09f1d..6250384d 100644 --- a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py +++ b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py @@ -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 = []