From 4840c2d4c585ae47c715fa66912a6fd2079a59c4 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sun, 9 Aug 2026 11:44:41 -0400 Subject: [PATCH] log an error when we try to push an event and there is no more room because we have reached max queue depth; --- src/fne/network/TrafficNetwork.MetricsLogging.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fne/network/TrafficNetwork.MetricsLogging.cpp b/src/fne/network/TrafficNetwork.MetricsLogging.cpp index 4952cc58..37c8a341 100644 --- a/src/fne/network/TrafficNetwork.MetricsLogging.cpp +++ b/src/fne/network/TrafficNetwork.MetricsLogging.cpp @@ -217,6 +217,7 @@ namespace { const size_t headValue = head.load(std::memory_order_acquire); const size_t pending = tailValue - headValue; if (pending >= maxDepth) { + LogError(LOG_MASTER, "Failed to push SQLite metric event: queue is full, pending = %zu, maxDepth = %zu", pending, maxDepth); return false; }