We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ba25d commit 7bb6759Copy full SHA for 7bb6759
crates/database/migration/src/m20250408_150338_load_header_metadata.rs
@@ -125,7 +125,7 @@ async fn download(url: &str) -> eyre::Result<Vec<u8>> {
125
pb.set_position(0);
126
127
// init variables.
128
- let mut buf = Vec::with_capacity(total_size as usize);
+ let mut buf = Vec::with_capacity(iterations as usize);
129
let mut index = 0;
130
let mut cursor = 0;
131
let mut tasks = FuturesUnordered::new();
0 commit comments