mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
The persistent `DockerC` container hosts the whole `executable_pool`, so the previous default `--cpus=1.0` throttled all pooled workers to one core total. Default the Docker CPU quota to `pool_size`, while preserving the explicit `CLICKHOUSE_C_DRIVER_CPUS` override. Tests: - `python3 -m py_compile programs/server/user_defined_executable_function_drivers/c_driver_common.py` - `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04241_executable_udf_driver.sh` - `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04242_executable_udf_driver_errors.sh` - real `DockerC` `clickhouse-local` query with `numbers_mt(5000000)` and `max_threads = 64`