Update dependencies
Some checks failed
Core Repos/ImageApi/pipeline/head Something is wrong with the build of this commit
Core Repos/ImageApi/pipeline/pr-master This commit looks good

Update dependencies and remove some features from the image crate that
are unused.
This commit is contained in:
Cameron Cordes
2021-03-27 16:46:01 -04:00
parent 79c79c3b24
commit 7474c4d310
4 changed files with 156 additions and 247 deletions

View File

@@ -401,7 +401,7 @@ fn main() -> std::io::Result<()> {
}
});
let system = actix::System::new("Fileserver");
let system = actix::System::new();
let act = StreamActor {}.start();
let app_data = web::Data::new(AppState {

View File

@@ -67,7 +67,7 @@ pub async fn create_playlist(video_path: &str, playlist_file: &str) -> Result<Ch
let start_time = std::time::Instant::now();
loop {
actix::clock::delay_for(std::time::Duration::from_secs(1)).await;
actix::clock::sleep(std::time::Duration::from_secs(1)).await;
if Path::new(playlist_file).exists()
|| std::time::Instant::now() - start_time > std::time::Duration::from_secs(5)