Rimuovi timeout socket dai nodi TCP

This commit is contained in:
2026-05-06 12:45:55 +02:00
parent c99cde83ff
commit 6b19a8a606
2 changed files with 0 additions and 100 deletions
-22
View File
@@ -44,11 +44,6 @@
<label><i class="fa fa-clock-o"></i> <span>Keepalive</span></label>
<input type="text" id="node-input-keepalive" style="text-align:end; width:200px !important">
</div>
<div class="form-row">
<label><i class="fa fa-hourglass-half"></i> <span>Socket timeout</span></label>
<input type="text" id="node-input-socketTimeout" placeholder="default" style="text-align:end; width:120px !important">
<span>ms</span>
</div>
<div id="node-row-newline" class="form-row hidden" style="padding-left:110px;">
<span data-i18n="tcpin.label.delimited"></span> <input type="text" id="node-input-newline" style="width:110px;">
@@ -77,7 +72,6 @@
datatype: { value: "buffer" },
newline: { value: "" },
keepalive: { value: "120000" },
socketTimeout: { value: "" },
topic: { value: "" },
base64: {/*deprecated*/ value: false, required: true }
},
@@ -115,7 +109,6 @@
$("#node-input-datatype").change(updateOptions);
$("#node-input-datamode").change(updateOptions);
$("#node-input-keepalive").spinner({ min: 1 });
$("#node-input-socketTimeout").spinner({ min: 0 });
}
});
</script>
@@ -148,12 +141,6 @@
<label for="node-input-base64" style="width: 70%;"><span data-i18n="tcpin.label.decode-base64"></span></label>
</div>
<div class="form-row">
<label><i class="fa fa-hourglass-half"></i> <span>Socket timeout</span></label>
<input type="text" id="node-input-socketTimeout" placeholder="default" style="text-align:end; width:120px !important">
<span>ms</span>
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
@@ -170,7 +157,6 @@
beserver: { value: "client", required: true },
base64: { value: false, required: true },
end: { value: false, required: true },
socketTimeout: { value: "" },
name: { value: "" }
},
inputs: 1,
@@ -202,7 +188,6 @@
};
updateOptions();
$("#node-input-beserver").change(updateOptions);
$("#node-input-socketTimeout").spinner({ min: 0 });
}
});
</script>
@@ -227,11 +212,6 @@
<input type="text" id="node-input-splitc" style="width:50px;">
<span id="node-units"></span>
</div>
<div class="form-row">
<label><i class="fa fa-hourglass-half"></i> <span>Socket timeout</span></label>
<input type="text" id="node-input-socketTimeout" placeholder="default" style="text-align:end; width:120px !important">
<span>ms</span>
</div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]common.label.name">
@@ -247,7 +227,6 @@
port: { value: "", validate: RED.validators.regex(/^(\d*|)$/) },
out: { value: "time", required: true },
splitc: { value: "0", required: true },
socketTimeout: { value: "" },
name: { value: "" }
},
inputs: 1,
@@ -284,7 +263,6 @@
$("#node-units").text("");
}
});
$("#node-input-socketTimeout").spinner({ min: 0 });
}
});
</script>