From 356b051036db6cc68b11ecd064bc1d0e3a993b28 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Fri, 16 May 2025 02:02:45 +0300 Subject: [PATCH] [traffic] Re-enable message deduplication between feed queue and cache Signed-off-by: mvglasow --- map/traffic_manager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/map/traffic_manager.cpp b/map/traffic_manager.cpp index b890cc269..8eb833442 100644 --- a/map/traffic_manager.cpp +++ b/map/traffic_manager.cpp @@ -551,7 +551,6 @@ void TrafficManager::DecodeFirstMessage() * The next feed (being a static file) returns the same data, so this check causes the message to * get ignored as it has not changed. */ -#if 0 // check if message is actually newer auto it = m_messageCache.find(message.m_id); bool process = (it == m_messageCache.end()); @@ -562,7 +561,6 @@ void TrafficManager::DecodeFirstMessage() LOG(LINFO, ("message", message.m_id, "is already in cache, skipping")); return; } -#endif LOG(LINFO, (" ", message.m_id, ":", message)); DecodeMessage(message);