summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-12-04 16:14:34 -0500
committerDonald Sharp <sharpd@nvidia.com>2024-12-04 16:14:34 -0500
commitfe180581bde9a0bdb79fd9a8d801701982afa2ff (patch)
treea08129c828868a7a3bfc0edf1f8c213a478fc2bd /ospfclient/ospfclient.py
parent267dc19825eb1e5281fd6f6990bf0ee7c4664604 (diff)
lib: Speed up reconnection attempts for zapi
Currently the zapi reconnection is once every 10 seconds for the first 3 times and then once every 60 seconds from then on out. We are seeing interesting behavior under loaded systems where zebra is just slow to come up and daemons are spending a long time waiting to connect. Let's just make things a bit more aggressive. Change the code to attempt to reconnect once every second for 30 seconds and then change to once every 5 seconds from then on out. This should help with non-integrated configuration on system startup. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions