mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 17:54:44 +10:00
style(downloads): Added GAME_PAUSE_CHECK_INTERVAL value
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use crate::auth::generate_authorization_header;
|
||||
use crate::{auth::generate_authorization_header, GAME_PAUSE_CHECK_INTERVAL};
|
||||
use crate::db::DatabaseImpls;
|
||||
use crate::downloads::manifest::DropDownloadContext;
|
||||
use crate::DB;
|
||||
@@ -78,7 +78,7 @@ impl DropFileWriter {
|
||||
}
|
||||
GameDownloadState::Paused => {
|
||||
info!("Game download paused");
|
||||
sleep(Duration::from_secs(1));
|
||||
sleep(GAME_PAUSE_CHECK_INTERVAL);
|
||||
}
|
||||
};
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user