mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-28 18:14:42 +02:00
Fixes array too big because strfry blocks more than 20 filters
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user