Damus
reya · 2w
the new rust-nostr sdk api is awesome, kudos nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet
reya profile picture
Hi @Yuki Kishimoto . I'm wondering if it's fine to use `.clone()` for the `client` instance whenever I need to use it?

I noticed that when I enabled <gossip>, there's a huge delay in receiving events after subscribing. However, it works fine if I keep <gossip> disabled. I thought `.clone()` might be affecting this, but I'm not sure, so I ended up implementing my own gossip mechanism for my app.
1
Yuki Kishimoto · 2w
No, clone doesn't affect that, it's fine to use it. Have you tried the SQLite gossip storage, instead of the in-memory one?