mirror of
https://github.com/status-im/infra-role-geth.git
synced 2025-02-10 10:57:18 +00:00
add a memory vs cache size check to avoid container getting killed
details: https://github.com/ethereum/go-ethereum/issues/19859 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3e2f1f879a
commit
b78e128d91
6
tasks/checks.yml
Normal file
6
tasks/checks.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Verify memory and cache sizes
|
||||
assert:
|
||||
that:
|
||||
- cont_mem_limit > geth_cache
|
||||
fail_msg: 'Memory limit cant be lower than cache'
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
- import_tasks: checks.yml
|
||||
- import_tasks: generate.yml
|
||||
- import_tasks: trusted_peers.yml
|
||||
- import_tasks: container.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user