Update dependencies
Update dependencies and remove some features from the image crate that are unused.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user