Increase LruCache max size from 100 to 1,000 since we have so many more relays active with outbox

This commit is contained in:
davotoula
2025-09-17 20:38:40 +02:00
parent aba60a87d6
commit b20eb860ff

View File

@@ -25,7 +25,7 @@ import com.vitorpamplona.quartz.nip01Core.relay.normalizer.NormalizedRelayUrl
object RelayStats {
private val innerCache =
object : LruCache<NormalizedRelayUrl, RelayStat>(100) {
object : LruCache<NormalizedRelayUrl, RelayStat>(1000) {
override fun create(key: NormalizedRelayUrl?) = RelayStat()
}