disable RPC healthcheck due to timeouts caused by one thread

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-03-24 11:26:31 +01:00
parent 96bd1688b4
commit 0a57ff8b29
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 7 additions and 6 deletions

View File

@ -9,12 +9,13 @@
port: '{{ beacon_node_listening_port }}' port: '{{ beacon_node_listening_port }}'
address: '{{ beacon_node_public_address }}' address: '{{ beacon_node_public_address }}'
tags: ['{{ env }}.{{ stage }}', 'beacon', 'nimbus'] tags: ['{{ env }}.{{ stage }}', 'beacon', 'nimbus']
checks: # Nimbus runs on one thread and RPC calls regularly time out.
- name: '{{ beacon_node_consul_service_name }}-health' #checks:
type: 'script' # - name: '{{ beacon_node_consul_service_name }}-health'
script: '{{ beacon_node_cont_vol }}/rpc.sh get_v1_node_version' # type: 'script'
interval: '60s' # script: '{{ beacon_node_cont_vol }}/rpc.sh get_v1_node_version'
timeout: '10s' # interval: '60s'
# timeout: '10s'
- id: '{{ beacon_node_cont_name }}-metrics' - id: '{{ beacon_node_cont_name }}-metrics'
name: '{{ beacon_node_consul_metrics_service_name }}' name: '{{ beacon_node_consul_metrics_service_name }}'