diff --git a/android/lib/ipc/src/main/kotlin/net/mullvad/mullvadvpn/lib/ipc/DispatchingHandler.kt b/android/lib/ipc/src/main/kotlin/net/mullvad/mullvadvpn/lib/ipc/DispatchingHandler.kt index dd73f3c156c8..e8c75babe798 100644 --- a/android/lib/ipc/src/main/kotlin/net/mullvad/mullvadvpn/lib/ipc/DispatchingHandler.kt +++ b/android/lib/ipc/src/main/kotlin/net/mullvad/mullvadvpn/lib/ipc/DispatchingHandler.kt @@ -15,7 +15,7 @@ class DispatchingHandler(looper: Looper, private val extractor: (Messag private val handlers = HashMap, (T) -> Unit>() private val lock = ReentrantReadWriteLock() - private val _parsedMessages = MutableSharedFlow(extraBufferCapacity = 1) + private val _parsedMessages = MutableSharedFlow(extraBufferCapacity = 10) val parsedMessages = _parsedMessages.asSharedFlow() @Deprecated("Use parsedMessages instead.")