Skip to content

Conversation

@pierre-josselin
Copy link

Here's a proposed fix related to this node-wot issue.

Subscriptions (subscribeEvent & observeProperty) expire after X minutes (under some conditions?) because the HTTP request times out.

More generally, this pull request attempts to automatically restart a failed subscription every second. Like the "repeat" mechanism you initially implemented, but extended to errors occurring after a successful subscription.

Tested on Node-RED 4.1.2.

@egekorkan
Copy link
Member

Hi @pierre-josselin , thank you for the fix. It makes sense and I like it and would merge the PR. However, you need to sign your commits and link your GitHub account to your Eclipse account (which you need to create). You will probably need to reopen your PR as the commits are already online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants