From e7c8577f26e7c444c591023e0dd88f56df0ae940 Mon Sep 17 00:00:00 2001 From: Oussama Teffahi Date: Mon, 2 Sep 2024 11:36:14 +0200 Subject: [PATCH] Use default ConsolidationMode in Session.get --- zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt b/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt index 4899ccd92..999d8a76d 100644 --- a/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt +++ b/zenoh-kotlin/src/commonMain/kotlin/io/zenoh/Session.kt @@ -687,7 +687,7 @@ class Session private constructor(private val config: Config) : AutoCloseable { attachment: ZBytes? = null, timeout: Duration = Duration.ofMillis(10000), target: QueryTarget = QueryTarget.BEST_MATCHING, - consolidation: ConsolidationMode = ConsolidationMode.NONE, + consolidation: ConsolidationMode = ConsolidationMode.default(), onClose: (() -> Unit)? = null ): Result> { val channelHandler = ChannelHandler(channel)