Fixes array too big because strfry blocks more than 20 filters

This commit is contained in:
Vitor Pamplona 2024-10-17 17:18:35 -04:00
parent 67fb3bf488
commit 26ba75c7c9

View File

@ -393,17 +393,16 @@ class Relay(
}
if (relayFilters.isNotEmpty()) {
val request =
writeToSocket(
relayFilters.joinToStringLimited(
separator = ",",
limit = 20,
limit = 19,
prefix = """["REQ","$requestId",""",
postfix = "]",
) {
it.filter.toJson(url)
}
writeToSocket(request)
},
)
afterEOSEPerSubscription[requestId] = false
}