mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 22:41:42 +02:00
Increase LruCache max size from 100 to 1,000 since we have so many more relays active with outbox
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user