From Dan Kenigsberg <danken(a)redhat.com>:
Dan Kenigsberg has submitted this change and it was merged. (
https://gerrit.ovirt.org/78536 )
Change subject: stomp: implement client reconnect
......................................................................
stomp: implement client reconnect
After enabling incoming heartbeats in AsyncDispatcher,
an implementation of handle_timeout is presented in the
client side also.
In the client side we wish to reconnect when we stop receiving
incoming heartbeats according to a retry policy which defines
number of tries and the timeout we wish to wait.
Change-Id: I1a3548c8d2797a0fabaa132b125492bc4d21c922
Signed-off-by: Irit Goihman <igoihman(a)redhat.com>
Bug-Url:
https://bugzilla.redhat.com/1376843
---
M lib/yajsonrpc/betterAsyncore.py
M lib/yajsonrpc/stomp.py
M lib/yajsonrpc/stompreactor.py
3 files changed, 51 insertions(+), 11 deletions(-)
Approvals:
Piotr Kliczewski: Looks good to me, approved
Jenkins CI: Passed CI tests
Irit Goihman: Verified
--
To view, visit
https://gerrit.ovirt.org/78536
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1a3548c8d2797a0fabaa132b125492bc4d21c922
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Irit Goihman <igoihman(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>