copr-fe: use lower shared_buffers value on STG

The instance has only 4G of RAM so PostgreSQL fails to start with:

    FATAL: could not map anonymous shared memory: Cannot allocate memory
This commit is contained in:
Jakub Kadlcik 2025-02-14 12:26:16 +01:00
parent f63e839698
commit e4e9f1ca3c

View file

@ -60,7 +60,7 @@
lineinfile:
path: /var/lib/pgsql/data/postgresql.conf
regexp: '^shared_buffers ='
line: 'shared_buffers = 8096MB'
line: 'shared_buffers = {% if devel %}1024MB{% else %}8096MB{% endif %}'
notify: Restart postgresql
tags:
- config