added notes
This commit is contained in:
1 parent
fed675f4cb
commit
54aa1cc0ad
1 file changed
+4
@@ -90,6 +90,10 @@ pub async fn web_ui_main(
|
||||
|
||||
let tmpl_reloader = web::Data::new(tmpl_reloader);
|
||||
|
||||
// use r2d2 for connection pools (https://github.com/sfackler/r2d2 &
|
||||
// https://github.com/ivanceras/r2d2-sqlite) use
|
||||
// https://docs.rs/actix-web/4.3.1/actix_web/web/fn.block.html
|
||||
// in handlers.
|
||||
let cloned_conn_fact = conn_fact.clone();
|
||||
let server = HttpServer::new(move || {
|
||||
App::new()
|
||||
|
||||
Reference in new issue
Block a user