chore: refactor message sending (#172)

* refactor send message

* refactor resend

* fix

* refactor

* clean up
This commit is contained in:
reya
2025-09-30 08:59:38 +07:00
committed by GitHub
parent 880ba30d20
commit 0db48bc003
6 changed files with 337 additions and 322 deletions

View File

@@ -223,7 +223,7 @@ pub fn nostr_client() -> &'static Client {
.automatic_authentication(false)
.verify_subscriptions(false)
.sleep_when_idle(SleepWhenIdle::Enabled {
timeout: Duration::from_secs(300),
timeout: Duration::from_secs(600),
});
ClientBuilder::default().database(lmdb).opts(opts).build()