@5minds/node-red-contrib-processcube 1.9.7 → 1.9.8
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/externaltask-input.js +8 -2
- package/package.json +2 -2
package/externaltask-input.js
CHANGED
@@ -31,6 +31,14 @@ module.exports = function (RED) {
|
|
31
31
|
options['lockDuration'] = process.env.NODE_RED_ETW_LOCK_DURATION;
|
32
32
|
}
|
33
33
|
|
34
|
+
if (!options['longpollingTimeout']) {
|
35
|
+
options['longpollingTimeout'] = process.env.NODE_RED_ETW_LONGPOLLING_TIMEOUT;
|
36
|
+
}
|
37
|
+
|
38
|
+
if (!options['idleTimeout']) {
|
39
|
+
options['idleTimeout'] = process.env.NODE_RED_ETW_IDLE_TIMEOUT;
|
40
|
+
}
|
41
|
+
|
34
42
|
node._subscribed = true;
|
35
43
|
node._subscribed_error = null;
|
36
44
|
node._trace = '';
|
@@ -342,8 +350,6 @@ module.exports = function (RED) {
|
|
342
350
|
});
|
343
351
|
};
|
344
352
|
|
345
|
-
node.setUnsubscribedStatus(new Error('Worker starting.'));
|
346
|
-
|
347
353
|
client.externalTasks
|
348
354
|
.subscribeToExternalTaskTopic(topic, etwCallback, options)
|
349
355
|
.then(async (externalTaskWorker) => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@5minds/node-red-contrib-processcube",
|
3
|
-
"version": "1.9.
|
3
|
+
"version": "1.9.8",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Node-RED nodes for ProcessCube",
|
6
6
|
"scripts": {
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"examples": "examples"
|
60
60
|
},
|
61
61
|
"dependencies": {
|
62
|
-
"@5minds/processcube_engine_client": "5.3.
|
62
|
+
"@5minds/processcube_engine_client": "5.3.3",
|
63
63
|
"jwt-decode": "^4.0.0",
|
64
64
|
"openid-client": "^5.5.0"
|
65
65
|
},
|