From 3bf5a7b01d95c491eb84f49336ec5680ff2a654b Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sat, 18 Jul 2026 03:21:37 +0300 Subject: [PATCH] =?UTF-8?q?Revert=20hardcoded=20default=20for=20db=5Fsync?= =?UTF-8?q?=20in=20chatgui=20=E2=80=94=20enabled=20via=20config=20file=20i?= =?UTF-8?q?nstead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/chatgui/transport/utun_node.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/chatgui/transport/utun_node.cpp b/tools/chatgui/transport/utun_node.cpp index 8596ac06..25d2f0b6 100644 --- a/tools/chatgui/transport/utun_node.cpp +++ b/tools/chatgui/transport/utun_node.cpp @@ -198,10 +198,9 @@ void UtunNode::runLoop() { } /* chatgui defaults: suppress spam, verbose for our categories */ - g_debug_config.category_levels[DEBUG_CATEGORY_MEMORY] = DEBUG_LEVEL_DISABLED; - g_debug_config.category_levels[DEBUG_CATEGORY_TIMING] = DEBUG_LEVEL_DISABLED; - g_debug_config.category_levels[DEBUG_CATEGORY_BGP] = DEBUG_LEVEL_INFO; - g_debug_config.category_levels[DEBUG_CATEGORY_DB_SYNC] = DEBUG_LEVEL_INFO; + g_debug_config.category_levels[DEBUG_CATEGORY_MEMORY] = DEBUG_LEVEL_DISABLED; + g_debug_config.category_levels[DEBUG_CATEGORY_TIMING] = DEBUG_LEVEL_DISABLED; + g_debug_config.category_levels[DEBUG_CATEGORY_BGP] = DEBUG_LEVEL_INFO; /* per-category overrides from config: cat=level,cat=level,... */ if (!m_debugCategories.isEmpty()) {