mirror of
https://github.com/ajvpot/meshexplorer.git
synced 2026-07-06 01:30:58 +02:00
clickhouse: lift readonly read-size caps
The readonly profile's max_rows_to_read / max_bytes_to_read (500MB) is exceeded by the map/stats views, which scan the full (growing) meshcore_packets table -> the web app failed with TOO_MANY_BYTES. Remove the read-size caps; readonly=1, allow_ddl=0, max_memory_usage and max_execution_time remain the guardrails. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -25,8 +25,11 @@
|
||||
<allow_ddl>0</allow_ddl>
|
||||
<max_memory_usage>10000000000</max_memory_usage>
|
||||
<max_execution_time>300</max_execution_time>
|
||||
<max_rows_to_read>10000000</max_rows_to_read>
|
||||
<max_bytes_to_read>500000000</max_bytes_to_read>
|
||||
<!-- No row/byte read caps: the map/stats views scan the full meshcore_packets
|
||||
table, which grows over time. memory + execution-time limits remain the
|
||||
guardrails. (0 = unlimited.) -->
|
||||
<max_rows_to_read>0</max_rows_to_read>
|
||||
<max_bytes_to_read>0</max_bytes_to_read>
|
||||
<query_profiler_real_time_period_ns>0</query_profiler_real_time_period_ns>
|
||||
<query_profiler_cpu_time_period_ns>0</query_profiler_cpu_time_period_ns>
|
||||
<constraints>
|
||||
|
||||
Reference in New Issue
Block a user