mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
fix: increase channel acquisition timeout to support lower performance hosts (#36)
This commit is contained in:
parent
3f8c9e7a7c
commit
9c0597157b
@ -346,7 +346,7 @@ impl KrataChannelBackendProcessor {
|
|||||||
.read_string(format!("{}/port", self.frontend))
|
.read_string(format!("{}/port", self.frontend))
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
if (ring_ref.is_none() || port.is_none()) && tries < 10 {
|
if (ring_ref.is_none() || port.is_none()) && tries < 40 {
|
||||||
tries += 1;
|
tries += 1;
|
||||||
self.store
|
self.store
|
||||||
.write_string(format!("{}/state", self.backend), "4")
|
.write_string(format!("{}/state", self.backend), "4")
|
||||||
|
Loading…
Reference in New Issue
Block a user