Merge pull request #53639 from ClickHouse/clickhouse-helper-timeout

Add default timeout value for ClickHouseHelper
This commit is contained in:
Mikhail f. Shiryaev 2023-08-21 15:36:36 +02:00 committed by GitHub
commit 99bb25d7f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,7 @@ class ClickHouseHelper:
if args:
url = args[0]
url = kwargs.get("url", url)
kwargs["timeout"] = kwargs.get("timeout", 100)
for i in range(5):
try: