Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Oct 2, 2024
1 parent ca89674 commit 4e75112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws-s3-transfer-manager/src/middleware/hedge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const MIN_DATA_POINTS: u64 = 20;
/// The Hedge layer maintains two rotating histograms, i.e., ReadHistogram and WriteHistogram. They
/// are switched every period. This value was chosen randomly while taking into consideration that most 8-16 MB part
/// requests take on average 0.2 seconds, and we should retry it if it takes more than a second.
const PERIOD: Duration = Duration::new(2,0);
const PERIOD: Duration = Duration::new(2, 0);

pub(crate) struct Builder<P> {
policy: P,
Expand Down
3 changes: 2 additions & 1 deletion aws-s3-transfer-manager/src/operation/upload/service.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use std::sync::Arc;

use crate::{
error,
io::{
Expand All @@ -9,7 +11,6 @@ use crate::{
};
use aws_sdk_s3::{primitives::ByteStream, types::CompletedPart};
use bytes::Buf;
use std::sync::Arc;
use tokio::{sync::Mutex, task};
use tower::{service_fn, Service, ServiceBuilder, ServiceExt};
use tracing::Instrument;
Expand Down

0 comments on commit 4e75112

Please sign in to comment.