Closed oleost closed 2 months ago
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
Problem/Motivation
When using the Inject node with the "Inject once after x second" enabled the default time of 0.1 is to low apparantly and causes errors when redeploying node-red.
Expected behavior
Not cause any error message when using inject script with default value.
Actual behavior
With default value of 0.1 seconds I get error messages when using inject. Increasing this to 1s econds makes them go away.
Steps to reproduce
Create timestamp/inject with default value that runs it after 0.1s. Then point it to read a state of an home assistant sensor, when redeploying one often get error messages.
Proposed changes
Either should the time be increased from example 0.1 to 1 seconds, or optimise what order things are started internally. (Guess the inject script shouldnt run before Node-red is 100% ready)