Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions msg-socket/src/req/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{
pin::Pin,
sync::Arc,
task::{Context, Poll, ready},
time::{Duration, Instant},
time::Instant,
};

use bytes::Bytes;
Expand Down Expand Up @@ -244,7 +244,7 @@ where
fn reset_connection(&mut self) {
self.conn_state = ConnectionState::Inactive {
addr: self.addr.clone(),
backoff: ExponentialBackoff::new(Duration::from_millis(20), 16),
backoff: ExponentialBackoff::new(self.options.backoff_duration, 16),
};
}
}
Expand Down
Loading