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

Comms: round timestamps to microseconds on read #4826

Merged
merged 1 commit into from Mar 10, 2023

Conversation

michellebrier
Copy link
Contributor

Description

Postgres timestamps' max precision is microseconds but we format to nanoseconds in comms. Round on read (when not reading from postgres) to avoid issues. Writes and subsequent reads of timestamps from postgres are fine since postgres automatically rounds on write.

Tests will be fixed by 8a2762a

Tests

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

@michellebrier michellebrier force-pushed the mbrier/plat-706/round-timestamps branch from d1e04f7 to 25c9c80 Compare March 10, 2023 03:53
@michellebrier michellebrier merged commit 82c6868 into main Mar 10, 2023
@michellebrier michellebrier deleted the mbrier/plat-706/round-timestamps branch March 10, 2023 03:54
@AudiusProject AudiusProject deleted a comment from linear bot Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants