From 9c0597157b370157a032a41de8b35986cc918a90 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Tue, 9 Apr 2024 02:36:22 -0700 Subject: [PATCH] fix: increase channel acquisition timeout to support lower performance hosts (#36) --- crates/runtime/src/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/runtime/src/channel.rs b/crates/runtime/src/channel.rs index 2af8c2d..c1d12a5 100644 --- a/crates/runtime/src/channel.rs +++ b/crates/runtime/src/channel.rs @@ -346,7 +346,7 @@ impl KrataChannelBackendProcessor { .read_string(format!("{}/port", self.frontend)) .await?; - if (ring_ref.is_none() || port.is_none()) && tries < 10 { + if (ring_ref.is_none() || port.is_none()) && tries < 40 { tries += 1; self.store .write_string(format!("{}/state", self.backend), "4")