We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1928ee6 commit 67840b2Copy full SHA for 67840b2
lib/influxdb/client/http.rb
@@ -62,7 +62,9 @@ def connect_with_retry
62
raise InfluxDB::ConnectionError, "Tried #{retry_count - 1} times to reconnect but failed."
63
end
64
65
- log(:warn) { "Failed to contact host #{host}: #{e.inspect} - retrying in #{delay}s." }
+ log(:warn) do
66
+ "Failed to contact host #{http.address}: #{e.inspect} - retrying in #{delay}s."
67
+ end
68
sleep delay
69
delay = [config.max_delay, delay * 2].min
70
0 commit comments