mirror of
https://github.com/status-im/infra-waku.git
synced 2025-02-17 07:17:05 +00:00
node-db: fix shared memory calculation
We were casting `0.3` to `int` which results in `0`. Resolves: https://github.com/status-im/infra-waku/issues/28 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
de2092e971
commit
4f2020945d
@ -27,5 +27,4 @@ open_ports_list:
|
||||
- { port: '{{ postgres_ha_metrics_exporter_cont_port }}', ipset: 'hq.metrics', iifname: 'wg0' }
|
||||
|
||||
# Use the 30% of RAM for shared memory
|
||||
postgres_share_memory: '{{ ansible_memtotal_mb * 0.30 | int }}m'
|
||||
|
||||
postgres_ha_share_memory: '{{ (ansible_memtotal_mb * 0.3) | int }}m'
|
||||
|
@ -26,4 +26,4 @@
|
||||
|
||||
- name: infra-role-postgres-ha
|
||||
src: git@github.com:status-im/infra-role-postgres-ha.git
|
||||
version: e48e129d8b92280cc171dae8959897062fb15a5f
|
||||
version: 0e166b76b4875f2413f093c264470bee3361b3f4
|
||||
|
Loading…
x
Reference in New Issue
Block a user