@5minds/node-red-contrib-processcube 1.5.2-debug-38bc89-m35vzrqa → 1.5.2-debug-11941e-m3600onb
Sign up to get free protection for your applications and to get access to all the features.
package/externaltask-input.js
CHANGED
@@ -118,10 +118,13 @@ module.exports = function (RED) {
|
|
118
118
|
.then(async (externalTaskWorker) => {
|
119
119
|
node.status({ fill: 'blue', shape: 'ring', text: 'subcribed' });
|
120
120
|
|
121
|
-
node.log('engine_identiy777'
|
121
|
+
node.log('engine_identiy777');
|
122
|
+
|
122
123
|
node.log(engine.identity);
|
123
124
|
externalTaskWorker.identity = engine.identity;
|
124
125
|
engine.registerOnIdentityChanged((identity) => {
|
126
|
+
node.log('changed777');
|
127
|
+
node.log(identity);
|
125
128
|
externalTaskWorker.identity = identity;
|
126
129
|
});
|
127
130
|
|
package/package.json
CHANGED
@@ -143,7 +143,7 @@ async function startRefreshingIdentityCycle(clientId, clientSecret, authorityUrl
|
|
143
143
|
configNode.setIdentity(freshIdentity);
|
144
144
|
|
145
145
|
retries = 5;
|
146
|
-
setTimeout(refresh,
|
146
|
+
setTimeout(refresh, delay);
|
147
147
|
} catch (error) {
|
148
148
|
if (retries === 0) {
|
149
149
|
console.error(
|