Skip to content

Commit d10ce3f

Browse files
committed
pool: reduce WAIT_FOR_OK_TIMEOUT to 10 secs
Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent c2b6f1f commit d10ce3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
* ndb: return `None` in `NostrEventsDatabase::event_by_id` if event doesn't exist ([Yuki Kishimoto])
7070
* ndb: avoid event clone when calling `NostrEventsDatabase::save_event` ([Yuki Kishimoto])
7171
* pool: better handling of auto-closing subscription activity when fetching events ([Yuki Kishimoto])
72+
* pool: reduce `WAIT_FOR_OK_TIMEOUT` to 10 secs ([Yuki Kishimoto])
7273
* sdk: auto-update the gossip data when sending an event ([Yuki Kishimoto])
7374
* sdk: avoid full clone of relays when only urls are needed ([Yuki Kishimoto])
7475
* nwc: allow usage of multiple relays ([Yuki Kishimoto])

crates/nostr-relay-pool/src/relay/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use core::ops::RangeInclusive;
88
use core::time::Duration;
99

10-
pub(super) const WAIT_FOR_OK_TIMEOUT: Duration = Duration::from_secs(15);
10+
pub(super) const WAIT_FOR_OK_TIMEOUT: Duration = Duration::from_secs(10);
1111
pub(super) const WAIT_FOR_AUTHENTICATION_TIMEOUT: Duration = Duration::from_secs(7);
1212
pub(super) const DEFAULT_CONNECTION_TIMEOUT: Duration = Duration::from_secs(60);
1313

0 commit comments

Comments
 (0)