This is my main issue on Nostr Proxy.

After running for ~1 hour (locally) with 15-20 clients connected to it, I closed all clients. Everything got cleaned correctly, but not these Promises. 534k Promises...

That's why Nostr Proxy crashes after a while. If anyone can help with this analysis, contact me please.

I can't find any information in the memory heap snapshots

Reply to this note

Please Login to reply.

Discussion

Oh! It's related to relay connection! I'll deep on it

Vanilla promised are not cancelable. That's kinda the point. Can you wrap it? see https://github.com/petkaantonov/bluebird

I'm looking with fiatjaf directly. It's a problem in nostr-tools. Currently testing something