mirror of
https://github.com/status-im/infra-faucet.git
synced 2025-02-23 16:18:33 +00:00
Re-arrange memory usage, give half to Goerli
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
17fe4a04fc
commit
e09c233d99
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user