From aefb7261092266414c095bfb48f530606d6b00d7 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Mon, 25 Nov 2024 19:53:49 +0200 Subject: [PATCH] we dont have catchup so just comment it out --- src/relay_subscription.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/relay_subscription.rs b/src/relay_subscription.rs index af2e243..093d956 100644 --- a/src/relay_subscription.rs +++ b/src/relay_subscription.rs @@ -134,13 +134,13 @@ async fn run_subscription( tracing::debug!(id = %sub.id, "subscription started"); - if let Some(_cursor) = cursor { - tracing::debug!(id = %sub.id, "filling from event cache"); + /* if let Some(cursor) = cursor { + tracing::debug!(id = %sub.id, "subscription filling from cache"); // TODO: cursor catchup (read from server db history) tracing::debug!(id = %sub.id, "subscription live-tailing"); - } + } */ // live tailing: let mut raw_block_rx = server.raw_block_tx.subscribe();