BlockHound detects kotlinx.coroutines.reactive.ReactiveFlowKt#<clinit>
during Mono.awaitFirst()
#2190
Labels
kotlinx.coroutines.reactive.ReactiveFlowKt#<clinit>
during Mono.awaitFirst()
#2190
I'm using BlockHound integration defined in
kotlinx-coroutines-debug
with reactor.Problem
When the code
Mono#awaitFirst()
is executed, BlockHound detected blocking call here:https://github.com/Kotlin/kotlinx.coroutines/blob/1.3.8/reactive/kotlinx-coroutines-reactive/src/ReactiveFlow.kt#L145
This detection occurs only once or twice after starting my application.
After
contextInjector
variable is initialized, this detection is not warned any more.Every time we start the application, BlockHound detects and outputs warning messages, which sounds a little noisy.
versions:
Workaround
We can suppress this blocking call.
Question
Does BlockHound integration of
kotlinx-coroutines-debug
have a plan to suppress this kind of warning?The text was updated successfully, but these errors were encountered: