Ready to implement sync client manager
This commit is contained in:
@@ -4,7 +4,7 @@ use actix_session::{storage::RedisSessionStore, SessionMiddleware};
|
||||
use actix_web::cookie::Key;
|
||||
use actix_web::{web, App, HttpServer};
|
||||
use matrix_gateway::app_config::AppConfig;
|
||||
use matrix_gateway::server::api::ws::WsMessage;
|
||||
use matrix_gateway::broadcast_messages::BroadcastMessage;
|
||||
use matrix_gateway::server::{api, web_ui};
|
||||
use matrix_gateway::user::UserConfig;
|
||||
|
||||
@@ -22,7 +22,9 @@ async fn main() -> std::io::Result<()> {
|
||||
.await
|
||||
.expect("Failed to connect to Redis!");
|
||||
|
||||
let (ws_tx, _) = tokio::sync::broadcast::channel::<WsMessage>(16);
|
||||
let (ws_tx, _) = tokio::sync::broadcast::channel::<BroadcastMessage>(16);
|
||||
|
||||
// TODO : spawn a tokio task to launch sync client
|
||||
|
||||
log::info!(
|
||||
"Starting to listen on {} for {}",
|
||||
|
||||
Reference in New Issue
Block a user