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 f77d3df commit c959525Copy full SHA for c959525
src/databricks/sql/telemetry/telemetry_client.py
@@ -182,9 +182,10 @@ def __init__(
182
delay_default=1.0,
183
force_dangerous_codes=[],
184
)
185
- self._session = requests.Session()
+ self._session = requests.Session() # TODO: Use DatabricksHttpClient instead (unify all http clients)
186
adapter = TelemetryHTTPAdapter(max_retries=self._telemetry_retry_policy)
187
self._session.mount("https://", adapter)
188
+ self._session.mount("http://", adapter)
189
190
def _export_event(self, event):
191
"""Add an event to the batch queue and flush if batch is full"""
0 commit comments