We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 706b380 commit 9a67398Copy full SHA for 9a67398
1 file changed
OpenFlow/src/Messages/Message.ts
@@ -1278,6 +1278,7 @@ export class Message {
1278
}
1279
1280
1281
+ //
1282
let livenessProbe: any = {
1283
httpGet: {
1284
path: "/livenessprobe",
@@ -1286,8 +1287,8 @@ export class Message {
1286
1287
},
1288
initialDelaySeconds: Config.nodered_initial_liveness_delay,
1289
periodSeconds: 5,
- failureThreshold: 5,
1290
- timeoutSeconds: 5
+ failureThreshold: Config.nodered_liveness_failurethreshold,
1291
+ timeoutSeconds: Config.nodered_liveness_timeoutseconds
1292
1293
if (user.nodered && (user.nodered as any).livenessProbe) {
1294
livenessProbe = (user.nodered as any).livenessProbe;
0 commit comments