Browse Source
chat_core_ensure_channel_ready() had a duplicate CREATE TABLE peers_* with OLD schema (no node_RTT, node_type, connected). Since it was called from 4 places WITHOUT topo_node_sqlite_channel_put() first, the old schema was created first, and IF NOT EXISTS in the new DDL was a no-op. Removed the entire old block. Only topo_node_sqlite_channel_put() now creates peers_* tables with the full schema. Also removed ORDER BY p.node_RTT from get_public_peers/get_local_peers — ordering not needed for sequential connect attempts.topo_upd
2 changed files with 2 additions and 30 deletions
Loading…
Reference in new issue