service: apply rest-max-body-size and rest-max-headers-size

Those two options are applied in `infra-role-beacon-node-linux`;
do the same for Windows.

Signed-off-by: Etan Kissling <etan@status.im>
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Etan Kissling 2023-06-04 15:11:26 +02:00 committed by Jakub Sokołowski
parent e3d9f50136
commit 6bb0d08b6f
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,8 @@ beacon_node_metrics_port: 9200
beacon_node_rest_enabled: true
beacon_node_rest_address: '127.0.0.1'
beacon_node_rest_port: 5052
beacon_node_rest_max_body_size: 16384
beacon_node_rest_max_headers_size: 128
# Light client data
beacon_node_light_client_data_enabled: false

View File

@ -49,6 +49,8 @@
{% if beacon_node_rest_enabled %}
--rest-address={{ beacon_node_rest_address }}
--rest-port={{ beacon_node_rest_port }}
--rest-max-body-size={{ beacon_node_rest_max_body_size | mandatory }}
--rest-max-headers-size={{ beacon_node_rest_max_headers_size | mandatory }}
{% endif %}
--metrics={{ beacon_node_metrics_enabled | to_json }}
{% if beacon_node_metrics_enabled %}