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