From dce240a41b4514a58736a3b328834d5c3b5500f2 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Thu, 3 Feb 2022 09:30:24 -0800 Subject: [PATCH] Add timeout to UD host --- ud/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ud/manager.go b/ud/manager.go index 1b9de113a..ee74f0c3f 100644 --- a/ud/manager.go +++ b/ud/manager.go @@ -113,6 +113,7 @@ func (m *Manager) getHost() (*connect.Host, error) { params := connect.GetDefaultHostParams() params.AuthEnabled = false + params.SendTimeout = 20 * time.Second // Add a new host and return it if it does not already exist host, err = m.comms.AddHost(udID, netDef.UDB.Address, -- GitLab