Increase client timeout

This commit is contained in:
Ingo Oppermann
2025-07-21 15:31:50 +02:00
parent 0e38648b70
commit fbddaf3de7

View File

@@ -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)