I am currently working with Node-RED and facing an issue with the Inject node. When a user sets the "repeat" option to loop every second, it can lead to potential performance issues or unintended behavior. I want to remove the "repeat every 1 second" option from the dropdown menu in the Inject node configuration, but I haven’t found a solution yet.
If anyone has worked on something similar or has an idea on how to achieve this, please share your insights or code examples. Your help would be greatly appreciated!
I don't know how you think this could work? If someone has access to the Node-RED Editor, they can author flows unless you've made it read-only. That node has a number of features that people rely on so they can't simply be removed. And even in your case, there may be occasions where the use of the repeater is perfectly valid.
is there any way to customize the interval as of now it have static interval, like seconds, minutes and hours.
for example if someone put the repeat interval on every seconds and do some db intergration on every seconds which will effect the performace .
so if we config the interval by passing variable which can be good