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

feat(realtime): Add realtime support #146

Merged
merged 3 commits into from
Dec 16, 2024
Merged

feat(realtime): Add realtime support #146

merged 3 commits into from
Dec 16, 2024

Conversation

gagantrivedi
Copy link
Member

@gagantrivedi gagantrivedi commented Dec 11, 2024

Implements: #144

NOTE: The failure of pre-commit.ci is not related to any code changes made in this pull request.

@gagantrivedi gagantrivedi requested review from a team and zachaysan and removed request for a team December 11, 2024 15:12
Copy link

@zachaysan zachaysan left a comment

Choose a reason for hiding this comment

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

Overall looks good, just one small question on how to handle a failure.

realtime.go Outdated
Comment on lines 40 to 43
if err != nil {
c.log.Errorf("Error reading realtime stream: %v", err)
return
}

Choose a reason for hiding this comment

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

Are you sure you want to return here? Shouldn't we go back to listening to the stream on the hopes of the next data line includes the updated_at field?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I think you are right. I will update

@gagantrivedi gagantrivedi merged commit 3825ef5 into main Dec 16, 2024
2 of 3 checks passed
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.

2 participants