diff --git a/ansible/group_vars/store-db.yml b/ansible/group_vars/store-db.yml index 5bfc022..7508348 100644 --- a/ansible/group_vars/store-db.yml +++ b/ansible/group_vars/store-db.yml @@ -22,6 +22,12 @@ postgres_ha_databases: user: 'nim-waku' pass: '{{lookup("bitwarden", "fleets/shards/"+stage+"/db/nim-waku")}}' +# Avoid exceeding volume size with WAL log. +postgres_alter_system_settings: + checkpoint_timeout: '5min' + max_wal_size: '1GB' + min_wal_size: '80MB' + # Open PostgreSQL Port open_ports_default_comment: '{{ postgres_ha_service_name }}' open_ports_default_chain: 'SERVICES' diff --git a/ansible/requirements.yml b/ansible/requirements.yml index bec2ef1..9437141 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -35,5 +35,5 @@ - name: infra-role-postgres-ha src: git@github.com:status-im/infra-role-postgres-ha.git - version: c647a9f57deb791f1be724fe768be7bc9bf64921 + version: 9fbe3851b902f9873441c2b26a6d3a7e9d1525c7 scm: git