logs
This commit is contained in:
@@ -73,7 +73,7 @@ async fn sse_handler(
|
|||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
async fn main() -> std::io::Result<()> {
|
async fn main() -> std::io::Result<()> {
|
||||||
let redis_url = env::var("REDIS_URL").unwrap_or_else(|_| String::from("redis://127.0.0.1/"));
|
let redis_url = env::var("REDIS_URL").unwrap_or_else(|_| String::from("redis://127.0.0.1/"));
|
||||||
let client = redis::Client::open(redis_url).unwrap();
|
let client = redis::Client::open(redis_url.clone()).unwrap();
|
||||||
|
|
||||||
println!("Connecting to Redis: {}", redis_url);
|
println!("Connecting to Redis: {}", redis_url);
|
||||||
HttpServer::new(move || {
|
HttpServer::new(move || {
|
||||||
|
Reference in New Issue
Block a user