-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[wemo] Fix stability issues #14163
[wemo] Fix stability issues #14163
Conversation
45d9fd3
to
40759a6
Compare
40759a6
to
e35cfe4
Compare
@hmerk - I don't remember if I've asked you before, sorry: Do you know how to run the integrations tests locally? With: mvn -pl :org.openhab.binding.wemo.tests clean install -DwithResolver=true I currently end up with:
|
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
e35cfe4
to
d78f553
Compare
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
a2133bd
to
30db45f
Compare
@openhab/add-ons-maintainers - this should be considered for being cherry-picked into 3.4.x. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@lolodomo - can you have a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you.
PS: I checked the Sonos binding and a lock object is also used ;)
@lolodomo - thanks for the review. Can I cherry-pick into 3.4.x? |
I also compared with the Sonos implementation. I basically did three things:
At least it's working really well on my system now, and it's still stable and responsive after weeks. Very new situation for me. 🙂 |
Is the top post the latest version of the JAR if not, can I get a link to the JAR? I have 37 WeMo's in my setup that I liked to test. I'm stilling using Han's version from 1/2022. Best, Jay |
@jaywiseman1971 - yes, you can use one of the provided JAR's mentioned in the description. They were built before the last two commits, but this should not matter much. Tomorrow there will be a fully up-to-date 4.0 snapshot version. |
Thank you! So far so good! Will report back. FYI, I'm running OH 3.2. Best, Jay |
Would make sense. |
* Stabilize UPnP subscription handling * Remove unused UpnpService * Fix integration test Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/wemo-reliability-3-x-version-release/143897/1 |
* Stabilize UPnP subscription handling * Remove unused UpnpService * Fix integration test Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Stabilize UPnP subscription handling * Remove unused UpnpService * Fix integration test Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Stabilize UPnP subscription handling * Remove unused UpnpService * Fix integration test Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Fixes #14162.
Tested on my system for a few weeks now and didn't see any blocked threads since. Also my system in general is now stable and responsive after running for more than a week without restarts.
JARs for testing: