Skip to content

Commit f77d633

Browse files
authored
Decrease default max cache size 60mb -> 10mb (#822)
1 parent 82b6b5b commit f77d633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/io/opentelemetry/android/features/diskbuffering/DiskBufferingConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import android.util.Log
99
import io.opentelemetry.android.common.RumConstants.OTEL_RUM_LOG_TAG
1010
import java.util.concurrent.TimeUnit
1111

12-
const val DEFAULT_MAX_CACHE_SIZE: Int = 60 * 1024 * 1024
12+
const val DEFAULT_MAX_CACHE_SIZE: Int = 10 * 1024 * 1024
1313
const val MAX_CACHE_FILE_SIZE: Int = 1024 * 1024
1414
const val DEFAULT_MAX_FILE_AGE_FOR_WRITE_MS = 30L
1515
const val DEFAULT_MIN_FILE_AGE_FOR_READ_MS = 33L

0 commit comments

Comments
 (0)