Skip to content

Commit efd857d

Browse files
committed
fix: from_min --> from_sec
1 parent fc3c9bf commit efd857d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/robust_provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl<N: Network, P: IntoProvider<N> + Send> IntoRobustProvider<N> for P {
126126
/// Default timeout used by `RobustProvider`
127127
pub const DEFAULT_MAX_TIMEOUT: Duration = Duration::from_secs(60);
128128
/// Default timeout for subscriptions (longer to accommodate slow block times)
129-
pub const DEFAULT_SUBSCRIPTION_TIMEOUT: Duration = Duration::from_mins(2);
129+
pub const DEFAULT_SUBSCRIPTION_TIMEOUT: Duration = Duration::from_secs(120);
130130
/// Default maximum number of retry attempts.
131131
pub const DEFAULT_MAX_RETRIES: usize = 3;
132132
/// Default base delay between retries.

0 commit comments

Comments
 (0)