mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-14 00:31:33 +10:00
refactor(downloads): Convert DOWNLOAD_MAX_THREADS to const
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -53,7 +53,7 @@ impl Display for GameDownloadError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static DOWNLOAD_MAX_THREADS: usize = 4;
|
pub const DOWNLOAD_MAX_THREADS: usize = 4;
|
||||||
|
|
||||||
pub struct ProgressObject {
|
pub struct ProgressObject {
|
||||||
pub max: u64,
|
pub max: u64,
|
||||||
|
|||||||
Reference in New Issue
Block a user