Skip to content

Commit

Permalink
longer dwell time for aircraft when writing traces without globe index
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 19, 2024
1 parent 079fda3 commit c3214b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion track.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c3214b3

Please sign in to comment.