forked from mirrors/relay
Use verify spawner in routes
This commit is contained in:
parent
5430da58aa
commit
e63e1f975e
1 changed files with 3 additions and 1 deletions
|
@ -290,7 +290,9 @@ async fn do_server_main(
|
||||||
let app = App::new()
|
let app = App::new()
|
||||||
.app_data(web::Data::new(db.clone()))
|
.app_data(web::Data::new(db.clone()))
|
||||||
.app_data(web::Data::new(state.clone()))
|
.app_data(web::Data::new(state.clone()))
|
||||||
.app_data(web::Data::new(requests.clone()))
|
.app_data(web::Data::new(
|
||||||
|
requests.clone().spawner(verify_spawner.clone()),
|
||||||
|
))
|
||||||
.app_data(web::Data::new(actors.clone()))
|
.app_data(web::Data::new(actors.clone()))
|
||||||
.app_data(web::Data::new(config.clone()))
|
.app_data(web::Data::new(config.clone()))
|
||||||
.app_data(web::Data::new(job_server))
|
.app_data(web::Data::new(job_server))
|
||||||
|
|
Loading…
Reference in a new issue