Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using UTC for time in flushClients #4132

Merged
merged 1 commit into from May 5, 2023
Merged

Stop using UTC for time in flushClients #4132

merged 1 commit into from May 5, 2023

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented May 4, 2023

In #1943 it was adopted to use UTC() in some timestamps, but an unintended side effect from this is that it strips the monotonic time (golang/go@e5646b2), so it can be prone to clock skews when subtracting time in other areas of the code.

In #1943 it was adopted to use `UTC()` in some timestamps,
but an unintended side effect from this is that it strips 
the monotonic time, so it can be prone to clock skews when
subtracting time in other areas of the code.
golang/go@e5646b2
@wallyqs wallyqs changed the title Stop using UTC for time for flushClients Stop using UTC for time in flushClients May 4, 2023
@wallyqs wallyqs marked this pull request as ready for review May 4, 2023 23:07
@wallyqs wallyqs requested a review from a team as a code owner May 4, 2023 23:07
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wallyqs wallyqs merged commit 40ea58f into main May 5, 2023
2 checks passed
@wallyqs wallyqs deleted the not-utc branch May 5, 2023 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants