auto-connect + GUI per-channel indicators
- chat_core_connect_auto: direct ETCP connect from SQLite (no BGP) - auto_connect: parallel connect to peers with 3s timeout, retry 10s - RTT saved to node_addresses on disconnect - vertical status bar + circle badge with online count per channel - ChannelListView prevents deselection
This commit is contained in:
1 parent
1a0229fd4f
commit
dccf54b30b
22 files changed
+909
-10
No files matched your search
@@ -371,6 +371,7 @@ void utun_instance_destroy(struct UTUN_INSTANCE *instance) {
|
||||
|
||||
// Cancel NTP timer
|
||||
ntp_time_destroy(instance);
|
||||
ntp_node_time_destroy(instance);
|
||||
|
||||
// Shutdown message transport server
|
||||
if (instance->msg_t) {
|
||||
@@ -617,6 +618,11 @@ int utun_instance_init(struct UTUN_INSTANCE *instance) {
|
||||
DEBUG_WARN(DEBUG_CATEGORY_GENERAL, "NTP time sync init failed (non-fatal)");
|
||||
}
|
||||
|
||||
// Initialize NTP node time exchange (non-fatal)
|
||||
if (ntp_node_time_init(instance) != 0) {
|
||||
DEBUG_WARN(DEBUG_CATEGORY_GENERAL, "NTP node time exchange init failed (non-fatal)");
|
||||
}
|
||||
|
||||
DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "Connections initialized successfully");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user