Update dependencies
Update dependencies and remove some features from the image crate that are unused.
This commit is contained in:
1 parent
79c79c3b24
commit
7474c4d310
4 files changed
+156
-247
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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