Re-arrange memory usage, give half to Goerli

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-02-04 22:50:58 +01:00
parent 17fe4a04fc
commit e09c233d99
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 6 additions and 8 deletions

View File

@ -22,11 +22,6 @@ geth_sync_mode: '{{ (faucet_network == "goerli") | ternary("full", "light") }}'
geth_websocket_enabled: false
geth_log_level_name: info
# adjust cache size to available memory
geth_cache_ratio: 0.2
# has to be higher than mem_cache_ratio
geth_cont_mem_ratio: 0.4
# don't auto-restart contianer on out-of-memory error
cont_restart_policy: on-failure

View File

@ -9,7 +9,7 @@
roles:
- { role: swap-file, tags: swap-file }
- name: Configure ropsten faucet
- name: Configure Ropsten faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
@ -23,8 +23,9 @@
geth_rpc_port: 8545
geth_websocket_port: 8546
geth_expo_cont_port: 9200
geth_cont_mem_ratio: 0.2
- name: Configure rinkeby faucet
- name: Configure Rinkeby faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
@ -38,8 +39,9 @@
geth_rpc_port: 8547
geth_websocket_port: 8548
geth_expo_cont_port: 9201
geth_cont_mem_ratio: 0.2
- name: Configure rinkeby faucet
- name: Configure Goerli faucet
hosts: faucet-master
roles:
- { role: infra-role-geth, tags: infra-role-geth }
@ -53,3 +55,4 @@
geth_rpc_port: 8549
geth_websocket_port: 8550
geth_expo_cont_port: 9202
geth_cont_mem_ratio: 0.5