Subscribe on the same thread
This commit is contained in:
parent
09c7e4f730
commit
e12e240487
@ -149,6 +149,7 @@ class ScoredSimpleLuceneShardSearcher implements LuceneShardSearcher {
|
||||
})
|
||||
.single()
|
||||
.takeUntilOther(cancelEvent.asMono())
|
||||
.subscribeOn(Schedulers.immediate())
|
||||
.block();
|
||||
if (!emitter.isCancelled()) {
|
||||
Objects.requireNonNull(pageTopDocs);
|
||||
|
Loading…
Reference in New Issue
Block a user