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

[chat_history] send messages by directly writing to firebase collection #810

Closed
kevmo314 opened this issue Nov 4, 2022 · 1 comment
Closed

Comments

@kevmo314
Copy link
Contributor

kevmo314 commented Nov 4, 2022

Because Firestore is more resilient, we should directly write to it instead of passing through a function. This will have better eventual consistency semantics since firebase functions may time out due to lack of connection whereas Firestore will guarantee that the message send action is written eventually. #781 will need to be submitted to allow authenticated writes to the correct subcollection first.

@kevmo314
Copy link
Contributor Author

kevmo314 commented Oct 9, 2023

We now do this.

@kevmo314 kevmo314 closed this as completed Oct 9, 2023
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

No branches or pull requests

1 participant