mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Merge pull request #53639 from ClickHouse/clickhouse-helper-timeout
Add default timeout value for ClickHouseHelper
This commit is contained in:
commit
99bb25d7f9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user