Files
zulip/puppet
Alex Vandiver 5bc75a94be puppet: Base PostgreSQL tuning on if the frontend is on the same host.
The previous thresholds were set based on the assumption that 50% of
the memory on the host was taken up by Django and friends, leaving
only 50% for the database host.

On separate database hosts, this leads to a too-small default value
for shared_buffers, which is generally suggested to be 25% of your
database-dedicated memory.

Check if there is a `zulip::app_frontend_base` as part of the deploy,
and use that to adjust if we halve `$zulip::common::total_memory_mb`
or not for purposes of calculating PostgreSQL memory settings.  We
also provide a `postgresql.memory` override, if necessary.
2025-05-12 11:12:45 -07:00
..