Fixes an issue in the RecordedDataQueueHandler where the "current" time was being passed in to the loop, but never updated inside it. This could lead to the time drifting when the queue was very long, leading to items being considered out of date.
Motivation
We have telemetry indicating numerous DataQueueItems are being dropped for being out of date.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)
[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
What does this PR do?
Fixes an issue in the RecordedDataQueueHandler where the "current" time was being passed in to the loop, but never updated inside it. This could lead to the time drifting when the queue was very long, leading to items being considered out of date.
Motivation
We have telemetry indicating numerous DataQueueItems are being dropped for being out of date.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)