File tree 2 files changed +3
-2
lines changed
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/cleanup
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ Reduce verbosity of debug logging,
Original file line number Diff line number Diff line change @@ -94,12 +94,12 @@ internal class CleanupSession @Inject constructor(
94
94
do {
95
95
val sessionRealmCount = Realm .getGlobalInstanceCount(realmSessionConfiguration)
96
96
val cryptoRealmCount = Realm .getGlobalInstanceCount(realmCryptoConfiguration)
97
- Timber .d(" Wait for all Realm instance to be closed ($sessionRealmCount - $cryptoRealmCount )" )
98
97
if (sessionRealmCount > 0 || cryptoRealmCount > 0 ) {
99
- Timber .d(" Waiting ${TIME_TO_WAIT_MILLIS } ms" )
98
+ Timber .d(" Waiting ${TIME_TO_WAIT_MILLIS } ms for all Realm instance to be closed ( $sessionRealmCount - $cryptoRealmCount ) " )
100
99
delay(TIME_TO_WAIT_MILLIS )
101
100
timeToWaitMillis - = TIME_TO_WAIT_MILLIS
102
101
} else {
102
+ Timber .d(" Finished waiting for all Realm instance to be closed ($sessionRealmCount - $cryptoRealmCount )" )
103
103
timeToWaitMillis = 0
104
104
}
105
105
} while (timeToWaitMillis > 0 )
You can’t perform that action at this time.
0 commit comments