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; }