Increase LruCache max size from 100 to 1,000 since we have so many more relays active with outbox
This commit is contained in:
+1
-1
@@ -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