Skip to content

Commit

Permalink
Merge pull request #28 from nspcc-dev/rest-gw-0.9.0
Browse files Browse the repository at this point in the history
rest_gw: update server configuration, fix #27
  • Loading branch information
532910 authored May 31, 2024
2 parents 4d3763e + 56581f1 commit 725f9c3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions roles/rest_gw/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ neofs_rest__pool_error_threshold: 100
neofs_rest__node_dial_timeout: '5s'
neofs_rest__healthcheck_timeout: '5s'
neofs_rest__rebalance_timer: '30s'
neofs_rest__scheme: [ http ]
neofs_rest__cleanup_timeout: '10s'
neofs_rest__graceful_timeout: '15s'
neofs_rest__max_header_size: 1000000
Expand All @@ -63,16 +62,16 @@ neofs_rest__raw_config:
address: '{{ neofs_rest__wallet_address }}'
passphrase: '{{ neofs_rest__wallet_password }}'
server:
listen-address: '{{ neofs_rest__rest_address | ansible.utils.ipwrap }}:{{ neofs_rest__rest_port }}'
scheme: '{{ neofs_rest__scheme }}'
endpoints:
- address: '{{ neofs_rest__rest_address | ansible.utils.ipwrap }}:{{ neofs_rest__rest_port }}'
external-address: '{{ neofs_rest__external_address }}'
keep-alive: '{{ neofs_rest__keep_alive }}'
read-timeout: '{{ neofs_rest__read_timeout }}'
write-timeout: '{{ neofs_rest__write_timeout }}'
cleanup-timeout: '{{ neofs_rest__cleanup_timeout }}'
graceful-timeout: '{{ neofs_rest__graceful_timeout }}'
max-header-size: '{{ neofs_rest__max_header_size }}'
listen-limit: '{{ neofs_rest__listen_limit }}'
keep-alive: '{{ neofs_rest__keep_alive }}'
read-timeout: '{{ neofs_rest__read_timeout }}'
write-timeout: '{{ neofs_rest__write_timeout }}'
external-address: '{{ neofs_rest__external_address }}'
pool:
node-dial-timeout: '{{ neofs_rest__node_dial_timeout }}'
healthcheck-timeout: '{{ neofs_rest__healthcheck_timeout }}'
Expand Down

0 comments on commit 725f9c3

Please sign in to comment.