Discard outdated tracking data
This commit is contained in:
@@ -115,7 +115,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (before)
|
if (before)
|
||||||
|
{
|
||||||
|
if (at_timestamp_ns > before->at_timestamp_ns + U_TIME_1S_IN_NS)
|
||||||
|
return {};
|
||||||
return {ex, *before};
|
return {ex, *before};
|
||||||
|
}
|
||||||
|
|
||||||
if (after)
|
if (after)
|
||||||
return {ex, *after};
|
return {ex, *after};
|
||||||
|
|||||||
Reference in New Issue
Block a user