forked from TrueCloudLab/frostfs-node
[#1632] neofs-node: Update docs
Replace `diable_cache` with `cache_ttl` value Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
e4dcc4d6a9
commit
944665dd5d
1 changed files with 7 additions and 7 deletions
|
@ -130,8 +130,8 @@ contracts:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
morph:
|
morph:
|
||||||
dial_timeout: 30s
|
dial_timeout: 30s
|
||||||
disable_cache: true
|
cache_ttl: 15s
|
||||||
rpc_endpoint:
|
rpc_endpoint:
|
||||||
- address: wss://rpc1.morph.fs.neo.org:40341/ws
|
- address: wss://rpc1.morph.fs.neo.org:40341/ws
|
||||||
priority: 1
|
priority: 1
|
||||||
|
@ -139,11 +139,11 @@ morph:
|
||||||
priority: 2
|
priority: 2
|
||||||
```
|
```
|
||||||
|
|
||||||
| Parameter | Type | Default value | Description |
|
| Parameter | Type | Default value | Description |
|
||||||
|-----------------|-----------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------|
|
|----------------|-----------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `dial_timeout` | `duration` | `5s` | Timeout for dialing connections to N3 RPCs. |
|
| `dial_timeout` | `duration` | `5s` | Timeout for dialing connections to N3 RPCs. |
|
||||||
| `disable_cache` | `bool` | `false` | Flag to disable TTL cache for some side-chain operations.<br/>NOTE: Setting this to `true` can slow down the node considerably. |
|
| `cache_ttl` | `duration` | `30s` | Sidechain cache TTL value (min interval between similar calls).<br/>Negative value disables caching.<br/>Cached entities: containers, container lists, eACL tables. |
|
||||||
| `rpc_endpoint` | list of [endpoint descriptions](#rpc_endpoint-subsection) | | Array of endpoint descriptions. |
|
| `rpc_endpoint` | list of [endpoint descriptions](#rpc_endpoint-subsection) | | Array of endpoint descriptions. |
|
||||||
|
|
||||||
## `rpc_endpoint` subsection
|
## `rpc_endpoint` subsection
|
||||||
| Parameter | Type | Default value | Description |
|
| Parameter | Type | Default value | Description |
|
||||||
|
|
Loading…
Reference in a new issue