log sync sender_user
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
be5c13ab0d
commit
6df7f976db
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,7 @@ use ruma::{
|
|||
uint, DeviceId, OwnedDeviceId, OwnedUserId, RoomId, UInt, UserId,
|
||||
};
|
||||
use tokio::sync::watch::Sender;
|
||||
use tracing::error;
|
||||
use tracing::{error, info};
|
||||
|
||||
use crate::{service::rooms::timeline::PduCount, services, Error, PduEvent, Result, Ruma, RumaResponse};
|
||||
|
||||
|
@ -98,6 +98,8 @@ pub async fn sync_events_route(
|
|||
|
||||
o.insert((body.since.clone(), rx.clone()));
|
||||
|
||||
info!("Sync started for {sender_user}");
|
||||
|
||||
tokio::spawn(sync_helper_wrapper(sender_user.clone(), sender_device.clone(), body, tx));
|
||||
|
||||
rx
|
||||
|
|
Loading…
Add table
Reference in a new issue