-
Notifications
You must be signed in to change notification settings - Fork 875
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
Expose Firestore backend timeout for configuration #1302
Labels
Comments
@jeremylorino Just to be clear, you're doing a If it's helpful, you could basically accomplish this by using .onSnapshot() to listen for events, and then creating your own setTimeout() trigger. |
I would like to fail longer than 10s (yes that's a loooong time).
As a sdk consumer, I do not want to manage more moving parts by cleaning
two event handles (onSnapshot, setTimeout). Especially when the sdk allows
for the get func to encapsulated the desired functionality.
Thanks!
On Fri, Jan 18, 2019, 8:23 PM Michael Lehenbauer ***@***.***> wrote:
@jeremylorino <https://github.com/jeremylorino> Just to be clear, you're
doing a get() call and wanting it to fail either faster or slower than
10s?
If it's helpful, you could basically accomplish this by using
.onSnapshot() to listen for events, and then creating your own setTimeout()
trigger.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1302 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEyA3u_40UyacmK13ZhdA0Sc_YKS1l_Eks5vEoGJgaJpZM4XV-g7>
.
--
google is watching
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
firebase-js-sdk/packages/firestore/src/remote/online_state_tracker.ts
Line 37 in 3dd9bcf
As a developer, I would like to be able to specify how long my client should wait on a connection to the database before it fails and throws an error; so that I can control my customers' experience.
The text was updated successfully, but these errors were encountered: