Skip to content

Agent Mesh

increase timeout discovery

Antonio Ojeadda274eaa89f
diff --git a/cmd/sam-node/node.go b/cmd/sam-node/node.go
index fa27561a..e5f3f04b 100644
--- a/cmd/sam-node/node.go
+++ b/cmd/sam-node/node.go
@@ -908,7 +908,7 @@ func (n *SamNode) IsServiceRegistered(serviceName string) bool {
// reachable mesh can't wedge a discovery call indefinitely.
const (
dhtLookupTimeout = 5 * time.Second
- discoveryFanoutTimeout = 5 * time.Second
+ discoveryFanoutTimeout = 15 * time.Second
)
// findProvidersByCID is the shared DHT-lookup primitive; bounds the