Clean up comments in tracearr-install.sh

Removed comments about RAM allocation for timescaledb-tune.
This commit is contained in:
Michel Roegl-Brunner 2026-01-09 13:20:52 +01:00 committed by GitHub
parent 80579a457c
commit 8c551c881d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,9 +32,6 @@ $STD apt install -y \
timescaledb-2-postgresql-18 \
timescaledb-tools \
timescaledb-toolkit-postgresql-18
# give timescaledb-tune 50% of total ram in MB
# we need to leave the rest for redis and the webserver.
# We cant use $RAM_SIZE or $var_ram here, which is annoying.
total_ram_kb=$(grep MemTotal /proc/meminfo | awk '{print $2}')
ram_for_tsdb=$((total_ram_kb / 1024 / 2))
$STD timescaledb-tune -yes -memory "$ram_for_tsdb"MB