mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
io: update copy buffer size (#4209)
This commit is contained in:
parent
1265d0c5dc
commit
669bc4476e
@ -23,7 +23,7 @@ impl CopyBuffer {
|
|||||||
pos: 0,
|
pos: 0,
|
||||||
cap: 0,
|
cap: 0,
|
||||||
amt: 0,
|
amt: 0,
|
||||||
buf: vec![0; 2048].into_boxed_slice(),
|
buf: vec![0; super::DEFAULT_BUF_SIZE].into_boxed_slice(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user