如果请求是从单独的线程完成的,为什么要订阅死锁

时间:2018-05-03 13:26:16

标签: project-reactor reactive-streams

subscribeOn文档中,它说

Note that if you are using an eager or blocking create(Consumer, FluxSink.OverflowStrategy) as the source, it can lead to deadlocks due to requests piling up behind the emitter. In such case, you should call subscribeOn(scheduler, false) instead.

我给出了一些细节,我不太确定为什么请求会在发射器后面堆积。请有人解释一下

0 个答案:

没有答案