jayvynl / django-clickhouse-backend

Django clickhouse database backend.
MIT License
130 stars 21 forks source link

[BUG] 无法添加额外参数connections_min和connections_max #34

Closed jiubuchihuluobo closed 1 year ago

jiubuchihuluobo commented 1 year ago
DATABASES = {
    'clickhouse': {
        'ENGINE': 'clickhouse_backend.backend',
        'NAME': 'demo',
        'HOST': '127.0.0.1',
        "PORT": '9000',
        "USER": "default",
        "PASSWORD": "demo",
        'OPTIONS': {
            "connections_min": 40,
            "connections_max": 100,
            "settings": {
                "mutations_sync": 1,
            },
        },
    }
}

clickhouse_backend.driver.pool.ClickhousePool() got multiple values for keyword argument 'connections_min'

jayvynl commented 1 year ago

fixed by #35