-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render template timeout #1315
Comments
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There's no way to define a timeout when using the REST API to render a template. The node would have to be refactored to use the websocket endpoint if a timeout needs to be introduced. |
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the bug
If you try to run a template that uses the
expand
function or something else that is equally intensive inside the developer tools, it times out after 3s.On the other hand, if you run the same template inside the node, it causes a memory leak which eventually crashes the core.
To Reproduce
No response
Expected behavior
To timeout after x seconds preventing memory leaks
Screenshots
No response
Example Flow
No response
Environment Information
Version:
Home Assistant version:
Companion version:
Node-RED version:
Docker: no
Add-on: no
Node.js version:
OS:
Additional context
No response
The text was updated successfully, but these errors were encountered: