fix: increase channel acquisition timeout to support lower performance hosts

This commit is contained in:
Alex Zenla 2024-04-09 09:34:12 +00:00
parent 3f8c9e7a7c
commit 4bf7b838d6
No known key found for this signature in database
GPG Key ID: 067B238899B51269

View File

@ -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")