Skip to content
Snippets Groups Projects
Commit dce240a4 authored by Josh Brooks's avatar Josh Brooks
Browse files

Add timeout to UD host

parent 93032765
No related branches found
No related tags found
2 merge requests!170Release,!151Add timeout to UD host
...@@ -113,6 +113,7 @@ func (m *Manager) getHost() (*connect.Host, error) { ...@@ -113,6 +113,7 @@ func (m *Manager) getHost() (*connect.Host, error) {
params := connect.GetDefaultHostParams() params := connect.GetDefaultHostParams()
params.AuthEnabled = false params.AuthEnabled = false
params.SendTimeout = 20 * time.Second
// Add a new host and return it if it does not already exist // Add a new host and return it if it does not already exist
host, err = m.comms.AddHost(udID, netDef.UDB.Address, host, err = m.comms.AddHost(udID, netDef.UDB.Address,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment