BUG-8618: reconnect connections more aggressively 96/59896/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Jul 2017 17:10:22 +0000 (19:10 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 14 Jul 2017 17:16:30 +0000 (17:16 +0000)
commit70f287502823bab284555b52b91043c3204b829b
tree2892b70431643d8e8aee4cad03d2de323452b765
parent0d5408c4babc902d270d9f81ed53c6af93bb2867
BUG-8618: reconnect connections more aggressively

Given that the timeout period on backend for an existing transaction
is 15 seconds, sleeping for 5 seconds between reconnect attempts seems
excessive. Lower the timer to 1 second, which should give us a slightly
better chance to avoid timeouts.

Change-Id: Ib74480f5630865cb7a11ca7027e0495443d1d14e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/cds-access-client/src/main/java/org/opendaylight/controller/cluster/access/client/ClientActorBehavior.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.