keepalive: custom pinging interval per destination
authorNacho Garcia Segovia <nacho.gs@zaleos.net>
Wed, 6 May 2020 21:10:40 +0000 (23:10 +0200)
committerNacho Garcia Segovia <nacho.gs@zaleos.net>
Wed, 6 May 2020 21:10:40 +0000 (23:10 +0200)
commit4cebb16b536c35ec74ecbdf595c5c6dbafe5afa1
tree98f735d5f384fada65c259defbc6aae3a9085c42
parentd815a2c92e49e315a9f6a614b7ee3a377836d368
keepalive: custom pinging interval per destination

- This functionality it's just available when using api.h bindings. For exported functions current value ka_ping_interval is used.
- Modified add_destination function to provide this new parameter.
- Now we have one timer per destination, instead of multiple, so we don't need to iterate over all destinations. Timers are cleaned when destinations are removed.
src/modules/keepalive/api.h
src/modules/keepalive/doc/keepalive.xml
src/modules/keepalive/doc/keepalive_devel.xml
src/modules/keepalive/keepalive.h
src/modules/keepalive/keepalive_api.c
src/modules/keepalive/keepalive_core.c
src/modules/keepalive/keepalive_mod.c
src/modules/keepalive/keepalive_rpc.c