realm / realm-kotlin

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Apache License 2.0
886 stars 52 forks source link

Getting "[Core] Testing/debugging feature 'one connection per session' enabled - never do this in production" warnings #1687

Closed benoitletondor closed 3 months ago

benoitletondor commented 3 months ago

How frequently does the bug occur?

Always

Description

I'm seeing this log in an app in production:

[Core] Testing/debugging feature 'one connection per session' enabled - never do this in production

Nothing is enabled regarding a one connection per session mode, not even sure what this is.

Stacktrace & log output

[Core] Testing/debugging feature 'one connection per session' enabled - never do this in production

Can you reproduce the bug?

Always

Reproduction Steps

Using flexible sync on an Atlas app

Version

1.14.0

What Atlas App Services are you using?

Atlas Device Sync

Are you using encryption?

No

Platform OS and version(s)

Android, not related to a specific version

Build environment

Android Studio version: Android Studio Iguana | 2023.2.1 Android Build Tools version: 8.3.0 Gradle version: 8.6

sync-by-unito[bot] commented 3 months ago

➤ PM Bot commented:

Jira ticket: RKOTLIN-1035

kneth commented 3 months ago

@benoitletondor The log message is a friendly reminder to enable multiplexing.

benoitletondor commented 3 months ago

Thanks a lot @kneth , will update my implementation.

Note that as friendly as this reminder is it's not really clear to me, but not a big deal since I got your explanation.

Thanks again