diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt index 4f5ecbc9e..78a12f4bb 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/DebugUtils.kt @@ -26,6 +26,7 @@ import android.content.pm.ApplicationInfo import android.os.Debug import androidx.core.content.getSystemService import com.vitorpamplona.amethyst.model.LocalCache +import com.vitorpamplona.quartz.nip01Core.relay.normalizer.normalizedUrls import com.vitorpamplona.quartz.utils.Log import kotlin.time.DurationUnit import kotlin.time.measureTimedValue @@ -68,6 +69,13 @@ fun debugState(context: Context) { .value.available.size, ) + Log.d( + STATE_DUMP_TAG, + "Indexed Relays: " + + Amethyst.instance.cache.relayHints.relayDB + .size() + "/" + normalizedUrls.size(), + ) + Log.d( STATE_DUMP_TAG, "Image Disk Cache ${(Amethyst.instance.diskCache.size) / (1024 * 1024)}/${(Amethyst.instance.diskCache.maxSize) / (1024 * 1024)} MB",