]> git.proxmox.com Git - mirror_frr.git/commit
lib: tweak northbound gRPC default timeout
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 21 Feb 2022 11:28:11 +0000 (06:28 -0500)
committerChristian Hopps <chopps@labn.net>
Sun, 6 Mar 2022 12:37:52 +0000 (07:37 -0500)
commit673e4407700b90c5ecbbcec5e06fec07fc1149b1
tree3f2a151c28e52b7a4838abbcf1e2c23b8b1325cf
parent13a95e53822fbf8fabdd3e16f64af8a9af1fef05
lib: tweak northbound gRPC default timeout

Don't let open sockets hang for too long. This will fix an issue where a
improperly coded client (e.g. socat) could exaust the amount of open
file descriptors.

Documentation:
https://grpc.github.io/grpc/cpp/md_doc_keepalive.html

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
lib/northbound_grpc.cpp