-
-
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
[innogysmarthome] Reconnect fixes (#8182) #8318
[innogysmarthome] Reconnect fixes (#8182) #8318
Conversation
…oo many requests (on re-occurring errors). Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…proved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
- Code-Optimization Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
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. only a small style comment, which I'll fix with GitHub commit suggestion.
...ogysmarthome/src/main/java/org/openhab/binding/innogysmarthome/internal/InnogyWebSocket.java
Outdated
Show resolved
Hide resolved
…openhab/binding/innogysmarthome/internal/InnogyWebSocket.java
@Hilbrand Please revert the change again... :-( I don't understand what's going on with this binding... I tested it for weeks and now since it is merged I get rapid (re-)connect attempts again... Please revert it shortly before the release of 2.5.8 (which may be built tomorrow?!). |
Revert pull-request: #8324 |
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: Clayton Tabone <taboneclayton@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: Clayton Tabone <taboneclayton@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: Daan Meijer <daan@studioseptember.nl>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com> Signed-off-by: Daan Meijer <daan@studioseptember.nl>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
* When an error occurs, it is waited at least for 30 seconds to avoid too many requests (on re-occurring errors). * Workaround for side-effect of "Fix possible resource leak openhab#8080" - Improved by not rescheduling when the close/stop was actively triggered by the binding (in this case there is already a reschedule triggered) * NPE fixed * Code-Optimization Closes openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
…" (openhab#8324) This reverts commit b621062. Reopens openhab#8182 Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
This pull-request fixes a few reconnect problems regarding the WebSocket, see issue #8182 for more information