node-red-contrib-questdb 0.6.27 → 0.6.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nodes/questdb.js +4 -2
- package/package.json +1 -1
package/nodes/questdb.js
CHANGED
|
@@ -162,8 +162,10 @@ module.exports = function (RED) {
|
|
|
162
162
|
// v4.x: Sender.fromConfig() is now async
|
|
163
163
|
connectionState.sender = await Sender.fromConfig(connStr);
|
|
164
164
|
|
|
165
|
-
// Wait for TCP transport to be fully ready
|
|
166
|
-
|
|
165
|
+
// Wait for TCP transport to be fully ready (HTTP doesn't need this)
|
|
166
|
+
if (configNode.protocol === 'tcp' || configNode.protocol === 'tcps') {
|
|
167
|
+
await new Promise(resolve => setTimeout(resolve, 5000));
|
|
168
|
+
}
|
|
167
169
|
|
|
168
170
|
connectionState.updateState(true);
|
|
169
171
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-questdb",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.29",
|
|
4
4
|
"description": "Node-RED nodes for writing high-performance time-series data to QuestDB using Influx Line Protocol (ILP). Supports IoT, industrial monitoring, smart buildings, fleet telematics, healthcare, agriculture, and more.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Holger Amort"
|