From 767d495099ab4aea4fbee15018a089206123afd9 Mon Sep 17 00:00:00 2001 From: Davis Vaughan Date: Mon, 30 Sep 2024 10:28:18 -0400 Subject: [PATCH] Remove timeout code for the moment --- crates/amalthea/src/socket/socket.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/crates/amalthea/src/socket/socket.rs b/crates/amalthea/src/socket/socket.rs index 4453af4f6..fb07ab51e 100644 --- a/crates/amalthea/src/socket/socket.rs +++ b/crates/amalthea/src/socket/socket.rs @@ -133,15 +133,6 @@ impl Socket { } } - // 10 second timeout on `recv()` operations (for testing for now) - // TODO: Expose `IS_TESTING` in its own lightweight crate? - if let Err(error) = socket.set_rcvtimeo(10000) { - return Err(Error::CreateSocketFailed(name, error)); - } - if let Err(error) = socket.set_sndtimeo(10000) { - return Err(Error::CreateSocketFailed(name, error)); - } - // Set the socket's identity, if supplied if let Some(identity) = identity { if let Err(err) = socket.set_identity(identity) {