mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Increase client timeout
This commit is contained in:
@@ -166,7 +166,7 @@ func (n *Core) connect() error {
|
||||
Transport: tr,
|
||||
Timeout: 0,
|
||||
},
|
||||
Timeout: 5 * time.Second,
|
||||
Timeout: 10 * time.Second,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("creating client failed (%s): %w", address, err)
|
||||
|
Reference in New Issue
Block a user