From c42c71ff5daad29e7beb3e2f7bcf4c07b1c3e4a2 Mon Sep 17 00:00:00 2001 From: techmetx11 Date: Wed, 14 Aug 2024 12:11:08 +0100 Subject: [PATCH] Remove unnecessary logs --- src/jobs.rs | 2 +- src/main.rs | 2 +- src/opcode.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jobs.rs b/src/jobs.rs index 100a22f..54a6fc9 100644 --- a/src/jobs.rs +++ b/src/jobs.rs @@ -150,7 +150,7 @@ pub async fn process_decrypt_n_signature( let cloned_writer = stream.clone(); let global_state = state.clone(); - println!("Signature to be decrypted: {}", sig); + //println!("Signature to be decrypted: {}", sig); let interp = global_state.js_runtime_pool.acquire().await; let cloned_interp = interp.clone(); diff --git a/src/main.rs b/src/main.rs index 8d916f1..35df4a8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -102,7 +102,7 @@ where while let Some(opcode_res) = stream.next().await { match opcode_res { Ok(opcode) => { - println!("Received job: {}", opcode.opcode); + //println!("Received job: {}", opcode.opcode); match opcode.opcode { JobOpcode::ForceUpdate => { diff --git a/src/opcode.rs b/src/opcode.rs index f84b28f..1985605 100644 --- a/src/opcode.rs +++ b/src/opcode.rs @@ -52,7 +52,7 @@ impl Decoder for OpcodeDecoder { &mut self, src: &mut tokio_util::bytes::BytesMut, ) -> Result, Self::Error> { - println!("Decoder length: {}", src.len()); + //println!("Decoder length: {}", src.len()); if 5 > src.len() { return Ok(None); }