From 4bf7b838d67b5b752bb63b34bca83ae864ef4b13 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Tue, 9 Apr 2024 09:34:12 +0000 Subject: [PATCH] fix: increase channel acquisition timeout to support lower performance hosts --- 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")