From c3214b36f7962793917e5830500bf611c1a04060 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Tue, 19 Nov 2024 16:39:37 +0100 Subject: [PATCH] longer dwell time for aircraft when writing traces without globe index --- track.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/track.c b/track.c index 8962c6c5..39c694fb 100644 --- a/track.c +++ b/track.c @@ -2841,7 +2841,7 @@ static void removeStaleRange(void *arg, threadpool_threadbuffers_t * buffer_grou // timeout for non-ICAO aircraft with position int64_t nonIcaoPosTimeout = now - 30 * MINUTES; - if (Modes.json_globe_index) { + if (Modes.writeTraces) { posTimeout = now - 26 * HOURS; nonIcaoPosTimeout = now - 26 * HOURS; }