clean up this log output

constant listening spam is so noisy (because we keep getting
UnexpectedEOFs)
This commit is contained in:
Charlotte Som 2024-12-02 10:52:27 +00:00
parent a9c51e5447
commit e35ec83c0c

View file

@ -398,6 +398,7 @@ async fn host_subscription(server: Arc<RelayServer>, host: String) -> Result<()>
let mut subscription = DataServerSubscription::new(server, host);
subscription.load_cursor()?;
tracing::debug!(seq = ?subscription.last_seq, "starting subscription");
'reconnect: loop {
let mut ws = create_ws_client(
@ -412,7 +413,7 @@ async fn host_subscription(server: Arc<RelayServer>, host: String) -> Result<()>
),
)
.await?;
tracing::debug!(seq = ?subscription.last_seq, "listening");
tracing::trace!(seq = ?subscription.last_seq, "connected to subscribeRepos");
loop {
match ws.read_frame().await {