parent
e6b44d8dbf
commit
55420793e6
|
@ -666,7 +666,7 @@ pub async fn upload_worker(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
let mut size = file.stream_position().await.unwrap();
|
let mut size = total_size - file.stream_position().await.unwrap();
|
||||||
if size > 2000 * 1024 * 1024 {
|
if size > 2000 * 1024 * 1024 {
|
||||||
size = 2000 * 1024 * 1024;
|
size = 2000 * 1024 * 1024;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue