remove limitation

This commit is contained in:
Rob Landers 2022-04-03 14:28:26 +02:00
parent 47e57518ec
commit 2616cf399e

View file

@ -300,13 +300,6 @@ pub async fn handle_upload_part_copy(
current_offset = block_end;
}
if size_to_copy < 1024 * 1024 {
return Err(Error::BadRequest(format!(
"Not enough data to copy: {} bytes (minimum: 1MB)",
size_to_copy
)));
}
// Now, actually copy the blocks
let mut md5hasher = Md5::new();