fix: increase channel acquisition timeout to support lower performance hosts (#36)

This commit is contained in:
Alex Zenla 2024-04-09 02:36:22 -07:00 committed by GitHub
parent 3f8c9e7a7c
commit 9c0597157b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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