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

Track outstanding advance jobs to prevent double-scheduling #10

Open
narinearraul opened this issue Jan 27, 2017 · 0 comments
Open

Track outstanding advance jobs to prevent double-scheduling #10

narinearraul opened this issue Jan 27, 2017 · 0 comments

Comments

@narinearraul
Copy link
Member

mkistler commented on Dec 18, 2016
The SDK should track outstanding advance jobs to determine when it needs to schedule an advance as part of processing a new listen. Currently the SDK checks for an existing listener, and skips scheduling an advance if there is already a listener on the same key. But this could result in multiple advance jobs for the same key if the app unlistens and then quickly relistens on the same key, the listen will not see an outstanding listener, but the advance job from the previous listen may still be active.

A fix for this issue is already implemented in the JS SDK and we may want to use the same approach here.

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