media: восстановить conn_mgr_open (DIR/REV/IND) + популяция best_candidates из RTT + watchdog не трогает CONN-блоки
This commit is contained in:
1 parent
905fde5a27
commit
2045d4a169
2 files changed
+28
-8
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "config_parser.h"
|
||||
#include "topo_node.h"
|
||||
#include "topo_group.h"
|
||||
#include "conn_mgr.h"
|
||||
#include "route_lib.h"
|
||||
#include "etcp_debug.h"
|
||||
#include "topo_node_sqlite.h"
|
||||
@@ -580,6 +581,8 @@ void topo_node_ping_update_rtt(struct TOPO_GROUPS* groups, uint64_t node_id, uin
|
||||
nq->connectivity.real_min_rtt = rtt;
|
||||
DEBUG_TRACE(DEBUG_CATEGORY_BGP, "ping_update_rtt: node=%016llx rtt=%u (%llu) group=%016llx",
|
||||
(unsigned long long)node_id, (unsigned)rtt, (unsigned long long)now, (unsigned long long)g->group_id);
|
||||
if (g->conn_mgr)
|
||||
conn_mgr_update_best_candidates(g->conn_mgr, node_id, rtt);
|
||||
if (groups->instance && groups->instance->topo_sqlite_db)
|
||||
topo_node_sqlite_update_rtt(groups->instance->topo_sqlite_db, node_id, rtt);
|
||||
topo_fire_nodeinfo_cbk(groups->instance, g, nq);
|
||||
|
||||
Reference in new issue
Block a user