Closed JesperNJessen closed 4 years ago
Update: It seems there is simply a delay of about 10 seconds from subscribing the third observer until the events start coming through. The amount of data is miniscule so I'm thinking this is a limitation of either the REST API or "firebasedatabase.net"
Third subscriber doesn't work here as well.
In my case, the delay is 90s. Limitation or not, this is not working for me. Maybe somebody has any ideas...
As posted to another instance of this issue, it seems SendAsync in FirebaseSubscription.ReceiveThread is taking a very very long time (i.e. the
var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, this.cancel.Token).ConfigureAwait(false);
line).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing the issue due to inactivity. Feel free to re-open
I've implemented an observer type to use with the AsObservable function. This works fine for the first two instances, but the third instance of the observer that I create never gets any events.
My observer class:
Where I get it:
I always call Unsubscribe on the previous observer before getting the next one, but it never fails - the third one will get no events.
I'm hoping someone can point towards what I'm guessing is an error on my part..