mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 09:50:41 +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 {
|
object RelayStats {
|
||||||
private val innerCache =
|
private val innerCache =
|
||||||
object : LruCache<NormalizedRelayUrl, RelayStat>(100) {
|
object : LruCache<NormalizedRelayUrl, RelayStat>(1000) {
|
||||||
override fun create(key: NormalizedRelayUrl?) = RelayStat()
|
override fun create(key: NormalizedRelayUrl?) = RelayStat()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user