Skip to content
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

Parallel prop loading can overwhelm device #106

Closed
freaktechnik opened this issue Jul 23, 2021 · 0 comments · Fixed by #107
Closed

Parallel prop loading can overwhelm device #106

freaktechnik opened this issue Jul 23, 2021 · 0 comments · Fixed by #107

Comments

@freaktechnik
Copy link
Contributor

I made an arduino based webthing (using the webthing-arduino lib). The adapter fails to poll it, usually failing to read a property. The adapter currently makes a request to every property (why not use the properties endpoint?) "at once". With a low powered device, that might be too many requests to handle before they timeout with how fast the event loop spins.

Example error:

2021-07-23 23:53:18.127 INFO   : thing-url-adapter: Failed to poll device: FetchError: request to http://192.168.50.37/things/senseBox/properties/tempIn failed, reason: read ECONNRESET
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 a pull request may close this issue.

1 participant