Reduces number of Notifications from random relays.

This commit is contained in:
Vitor Pamplona
2025-09-22 20:05:07 -04:00
parent 0026668aca
commit d93a8d94d2

View File

@@ -147,7 +147,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = SummaryKinds, kinds = SummaryKinds,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 500, limit = 20,
since = since, since = since,
), ),
), ),
@@ -157,7 +157,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = NotificationsPerKeyKinds, kinds = NotificationsPerKeyKinds,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 500, limit = 20,
since = since, since = since,
), ),
), ),
@@ -167,7 +167,7 @@ fun filterJustTheLatestNotificationsToPubkeyFromRandomRelays(
Filter( Filter(
kinds = NotificationsPerKeyKinds2, kinds = NotificationsPerKeyKinds2,
tags = mapOf("p" to listOf(pubkey)), tags = mapOf("p" to listOf(pubkey)),
limit = 500, limit = 20,
since = since, since = since,
), ),
), ),