`DELAY` node - bug?

I have put a delay node in a flow.

For initial testing it was set to a 5 second delay.

When triggered a blue dot would appear under it showing it is delaying the message.

After development of the flow, I reduced it to 1 second.

The blue dot does not appear if the time is set to 1 second.

Bug?

Flow:

[{"id":"64ac8ced.be6ed4","type":"inject","z":"10045d06.cf6ba3","name":"","topic":"","payload":"Blah","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":1830,"wires":[["ee32b943.6a7888","ed558e08.c2109","957d8f46.630b9","adc537dc.0b548","bbb92b33.d27bf8"]]},{"id":"ee32b943.6a7888","type":"delay","z":"10045d06.cf6ba3","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":1700,"wires":[[]]},{"id":"ed558e08.c2109","type":"delay","z":"10045d06.cf6ba3","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":1760,"wires":[[]]},{"id":"957d8f46.630b9","type":"delay","z":"10045d06.cf6ba3","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":1830,"wires":[[]]},{"id":"adc537dc.0b548","type":"delay","z":"10045d06.cf6ba3","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":1900,"wires":[[]]},{"id":"bbb92b33.d27bf8","type":"delay","z":"10045d06.cf6ba3","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":341.11114501953125,"y":1963.3333740234375,"wires":[[]]}]

I imagine its a feature :slight_smile:

i.e. anything 1 sec or less - it doesn't bother doing it

I tried 1001 milliseconds and it does show briefly but 1000 doesn't

1 Like

Thanks for that.

It just threw me as I wasn't sure it was or not delaying the message.

Yes it does work.

The only thing I don't like about that is it makes the node bigger as it goes from displaying 1 second to 1001 ms

Not really neat looking.

Could someone involved with this node please comment?
(Appreciated in advance.)

We don’t bother show it for delays less than one sec as it all adds traffic from the backend to the browser. It’s only an indication after all ( the editor is not a dashboard)

Not heard that one before :slight_smile:

1 Like

No problems.

It just threw me as I wasn't sure the message was delayed. (Done a lot of stuff with it at 5 seconds and when I set it to 1 it didn't show.)

Yes, after a bit of checking: it is delayed.

Just wanted to check what the status quo for the node's operation is/was.

Again: I agree the overhead isn't really needed/wanted and I am sure a few squillion of them would be a problem.

All good. I'll get back to writing the code/flow.

Thanks all.

1 Like