Revert back to actix 0.10
Until Actix Web 4, we need to use an older version of actix so that the runtime's match up to version 1.
This commit is contained in:
@@ -11,7 +11,7 @@ use std::sync::mpsc::channel;
|
||||
use std::sync::Arc;
|
||||
use std::{env, fs::File};
|
||||
|
||||
use actix::{Actor, Addr};
|
||||
use actix::prelude::*;
|
||||
use actix_files::NamedFile;
|
||||
use actix_multipart as mp;
|
||||
use actix_web::{
|
||||
@@ -401,7 +401,7 @@ fn main() -> std::io::Result<()> {
|
||||
}
|
||||
});
|
||||
|
||||
let system = actix::System::new();
|
||||
let system = actix::System::new("image-api");
|
||||
let act = StreamActor {}.start();
|
||||
|
||||
let app_data = web::Data::new(AppState {
|
||||
|
||||
Reference in New Issue
Block a user