2 커밋 d31daa10b7 ... ce2e2b0938

작성자 SHA1 메시지 날짜
  Cesar Rodas ce2e2b0938 Working on personal relayer 3 달 전
  Cesar Rodas d31daa10b7 Working on personal relayer 3 달 전
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      crates/relayer/src/relayer.rs

+ 0 - 5
crates/relayer/src/relayer.rs

@@ -14,7 +14,6 @@ use std::{
     collections::{HashMap, HashSet},
     ops::Deref,
     sync::Arc,
-    time::Instant,
 };
 use tokio::{
     net::{TcpListener, TcpStream},
@@ -144,8 +143,6 @@ impl<T: Storage + Send + Sync + 'static> Relayer<T> {
 
         let handle = tokio::spawn(async move {
             loop {
-                let start = Instant::now();
-                println!("{}", client_pool_receiver.len());
                 tokio::select! {
                     Ok((stream, _)) = server.accept() => {
                         // accept new connections
@@ -177,8 +174,6 @@ impl<T: Storage + Send + Sync + 'static> Relayer<T> {
                                 };
 
                                 let _ = connection.respond(Response::EndOfStoredEvents(sub_id.into()));
-                                let duration = start.elapsed();
-                                println!("xTime elapsed: {} ms", duration.as_millis());
                             }
                             _ => {}
                         }