-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SingleConcatWithPublisher
: limit recursion depth to 1 (#1654)
Motivation: To mitigate #1652 issue, temporary limit the mutual recursion between `onNext` and `request` to a depth of 1 for `ConcatDeferNextSubscriber`. Modifications: - Introduce additional `SINGLE_DELIVERING` state to understand if the `request` was invoked while we deliver result of the `Single`; - Remove `boundedDepthOfOnNextAndRequestRecursion()` override from `SingleConcatWithPublisherDeferSubscribeTckTest`; Result: 1. `SingleConcatWithPublisher` has a maximum recursion depth of 1. 2. Less risk of encountering issue #1652.
- Loading branch information
1 parent
4bf0a96
commit b8bc2c1
Showing
2 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters