mirror of
https://github.com/SteamFramelyHomebrew/framely.git
synced 2026-10-27 23:00:16 +01:00
Increase upload chunks to 16 MiB
This commit is contained in:
1 parent
2c7863dcfb
commit
786c8b7928
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -7,7 +7,7 @@ use std::{
|
||||
sync::{Arc, Mutex},
|
||||
time::{Duration, Instant},
|
||||
};
|
||||
pub const CHUNK: usize = 4 * 1024 * 1024;
|
||||
pub const CHUNK: usize = 16 * 1024 * 1024;
|
||||
#[derive(Clone, Default)]
|
||||
pub struct Uploads(Arc<Mutex<Option<Upload>>>);
|
||||
struct Upload {
|
||||
|
||||
Reference in new issue
Block a user