You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if RELAY_CONFIG.max_limit is set to 100 and REQ command is sent by a client with 5 different filters (i.e. ["REQ", "subscription", {...}, {...}, {...}, {...}, {...}] the response in theory will contain 500 records maximum (100 per filter). Also, in case filters have #authors filter, NIP-26 delegation will trigger another UNION to each subquery.
We could limit resulting set, but it could be not clear for clients, so the best and the most obvious solution should be defined and enforced.
The text was updated successfully, but these errors were encountered:
Currently if
RELAY_CONFIG.max_limit
is set to100
andREQ
command is sent by a client with5
different filters (i.e.["REQ", "subscription", {...}, {...}, {...}, {...}, {...}]
the response in theory will contain 500 records maximum (100 per filter). Also, in case filters have#authors
filter, NIP-26 delegation will trigger anotherUNION
to each subquery.We could limit resulting set, but it could be not clear for clients, so the best and the most obvious solution should be defined and enforced.
The text was updated successfully, but these errors were encountered: