Skip to content

Commit

Permalink
io: update copy buffer size (#4209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored Nov 2, 2021
1 parent 1265d0c commit 669bc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/io/util/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl CopyBuffer {
pos: 0,
cap: 0,
amt: 0,
buf: vec![0; 2048].into_boxed_slice(),
buf: vec![0; super::DEFAULT_BUF_SIZE].into_boxed_slice(),
}
}

Expand Down

0 comments on commit 669bc44

Please sign in to comment.