-
Notifications
You must be signed in to change notification settings - Fork 33
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
ContextScheduler: multithread and timer problems #34
Comments
CLA signed for company (legal entity), submitting pull request #35 |
thanks for submitting this, and sorry for the delay with merging. did you create any tests to confirm the issues / resolution? (if not i can look to add one) |
...that would have been a reasonable thing to have done alright... PR #35 has been updated with a few additions to
|
Coincidentally, turns out vertx 3 official vertx-rx has added some conceptually overlapping (though independently implemented) changes. Note how it has a (untested whether all the #34 sub-issues addressed here by #35 for vertx2 mod-rxvertx are thus already addressed in the vertx3 rx implementation (or were even present in that the first place), mind - e.g. just looking at the source code I don't see caching of the context at time of writing, but maybe in vertx3 things work differently) |
Encountered dubious flaky behaviour with some of the more complex wallclock-time observable ops like
.debounce()
and when using.subscribeOn()
and.observeOn()
. I traced the problems toContextScheduler
just not being quite right (IMHO).schedule()
/.schedulePeriodically()
are supposed to return individually cancellable subscriptions that don't necessarily cancel the whole worker. Things like.debounce()
apparently rely on the individual schedule subscription being cancellable without cancelling the entire worker.The text was updated successfully, but these errors were encountered: