remove limitation
This commit is contained in:
parent
47e57518ec
commit
2616cf399e
1 changed files with 0 additions and 7 deletions
|
@ -300,13 +300,6 @@ pub async fn handle_upload_part_copy(
|
||||||
current_offset = block_end;
|
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
|
// Now, actually copy the blocks
|
||||||
let mut md5hasher = Md5::new();
|
let mut md5hasher = Md5::new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue