-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Subscription request being sent twice #70
Comments
Okay, so I think I found the problem. I thought one could only subscribe when the LiveQueryClient is connected. Though not a big issue, it still looks like a bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Description
I am using LiveQuery with Android device. The problem is that the events (like
UPDATE
) were delivered twice when they should have been delivered only once. I tried to look in here,but couldnt really see a problem. Then I enabled
logLevel : verbose
in the server and the server actually receives the request twice. Am I doing something wrong ? or is it really a bug ?Steps to reproduce
The server config should contain these keys :
The android client has this code :
Logs/Trace
Logs on android client :
Logs on the server :
Expected Results
The server should recieve only one subscription request and hence should dispatch the
UPDATE
events only once.Actual Outcome
As it can be seen in the logs that the server is recieving 2 subscription request and hence dispatches the
UPDATE
events twice.Environment Setup
The text was updated successfully, but these errors were encountered: