What is Nostr?
mikedilger /
npub1acg…p35c
2024-11-18 06:49:14
in reply to nevent1q…f5g6

mikedilger on Nostr: That is a fair request. You could edit main.rs and add after line 123 (at the end of ...

That is a fair request. You could edit main.rs and add after line 123 (at the end of the for loop) this line:

thread::sleep(std::time::Duration::new(0, 100));

Then it will wait 100ms between tests. But tests that do multiple messages in a row won't have waits between those.

You could instead try editing connection.rs and add this at the top of send_message() (to wait before every send).

Let me know if those help.
Author Public Key
npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c