From 22217dd30e1e0125fbf03a9e701b4f0c3fed5a44 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 21 Apr 2024 19:07:34 +0200 Subject: [PATCH] Fix an error: compression was wrongly configured, #13 --- setup.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.sql b/setup.sql index 03b0749..8878aa8 100644 --- a/setup.sql +++ b/setup.sql @@ -85,8 +85,8 @@ CREATE USER website IDENTIFIED WITH sha256_hash BY 'E3B0C44298FC1C149AFBF4C8996F SETTINGS add_http_cors_header = 1, max_result_rows = 1048576, - network_compression_method = 'zstd', - network_zstd_compression_level = 6, + enable_http_compression = 1, + http_zlib_compression_level = 6, replace_running_query = 1, skip_unavailable_shards = 1, max_parallel_replicas = 100, @@ -96,6 +96,7 @@ SETTINGS analyze_index_with_space_filling_curves = 0, max_execution_time = 180, priority CHANGEABLE_IN_READONLY, + read_through_distributed_cache = 0, readonly = 1; GRANT SELECT ON default.planes_mercator TO website;