2 Commits

Author SHA1 Message Date
434ed8129f disable busy-waiting for lower cpu usage 2025-01-17 14:20:58 +03:00
c29a0f0d13 fix clickhouse profile typo 2024-12-09 21:04:41 +07:00
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<mark_cache_size>524288000</mark_cache_size>
<profile>
<detault>
<default>
<!-- https://clickhouse.com/docs/en/operations/settings/settings#max_threads -->
<max_threads>1</max_threads>
<!-- https://clickhouse.com/docs/en/operations/settings/settings#max_block_size -->
@ -18,6 +18,6 @@
<!--
https://clickhouse.com/docs/en/operations/settings/settings#output_format_parallel_formatting -->
<output_format_parallel_formatting>0</output_format_parallel_formatting>
</detault>
</default>
</profile>
</clickhouse>

View File

@ -47,6 +47,7 @@ services:
soft: 65535
hard: 65535
environment:
- ERL_FLAGS=+sbwt none +sbwtdcpu none +sbwtdio none
- TMPDIR=/var/lib/plausible/tmp
# required: https://github.com/plausible/community-edition/wiki/configuration#required
- BASE_URL=${BASE_URL}