Skip to content

Commit 9cc9c01

Browse files
committed
add comment to autogenerate_session_id
1 parent 68d1ce7 commit 9cc9c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse/datadog_checks/clickhouse/clickhouse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# All rights reserved
33
# Licensed under a 3-clause BSD style license (see LICENSE)
44
import clickhouse_connect
5-
65
from datadog_checks.base import AgentCheck, ConfigurationError, is_affirmative
76
from datadog_checks.base.utils.db import QueryManager
87

@@ -120,6 +119,7 @@ def connect(self):
120119
compress=self._compression,
121120
ca_cert=self._tls_ca_cert,
122121
verify=self._verify,
122+
# https://clickhouse.com/docs/integrations/language-clients/python/driver-api#multi-threaded-applications
123123
autogenerate_session_id=False,
124124
# https://clickhouse.com/docs/integrations/python#settings-argument
125125
settings={},

0 commit comments

Comments
 (0)