logs
This commit is contained in:
parent
28a5aa15a7
commit
36aad923d3
|
@ -47,7 +47,7 @@ async fn sse_handler(
|
||||||
for chat_id in &chats {
|
for chat_id in &chats {
|
||||||
let channel_name = format!("chat:{}", chat_id);
|
let channel_name = format!("chat:{}", chat_id);
|
||||||
pubsub.subscribe(&channel_name).await.unwrap();
|
pubsub.subscribe(&channel_name).await.unwrap();
|
||||||
println!(format!("'{}' subscribed", channel_name));
|
println!("'{}' subscribed", channel_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
while let Some(msg) = pubsub.on_message().next().await {
|
while let Some(msg) = pubsub.on_message().next().await {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user