Description
I'm getting way too many of these Received NOTICE. url=wss://user.kindpag.es msg=ERROR: too many concurrent REQs
from multiple relays. wss://user.kindpag.es and wss://relay.primal.net show up to me on the console now.
I don't know what request is triggering this, but given that user.kindpag.es is involved I imagine it's for kind:0
profiles? Maybe you're not closing the subscriptions after getting the events? Maybe it would be better to group multiple profile requests in the same filter? Ultimately these groupings should be unnecessary, and I think relays will learn that and start relaxing their limits, but for now it might be good.
Also given that I have a lot of chats the first time I loaded the app they took a while to load, but then after a restart they also took some non-negligible time, which tells me Coop is not caching these profiles locally, so maybe that's something that could help. I don't know.