Renamed resetTimeout to restartTimeout

Updated documentation differently
This commit is contained in:
Magnus Månsson
2021-08-25 21:53:37 +02:00
parent cf2d5841f5
commit f20565fd16
2 changed files with 2 additions and 3 deletions

View File

@@ -631,7 +631,7 @@ module.exports = function(RED) {
}
}
if (msg.hasOwnProperty("resetTimeout")) {
if (msg.hasOwnProperty("restartTimeout")) {
if (inflight[partId]) {
if (inflight[partId].timeout) {
clearTimeout(inflight[partId].timeout);