From 944665dd5d04fd4e013ce95af2c7ccad27466b30 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 6 Sep 2022 18:05:23 +0300 Subject: [PATCH] [#1632] neofs-node: Update docs Replace `diable_cache` with `cache_ttl` value Signed-off-by: Alex Vanin --- docs/storage-node-configuration.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/storage-node-configuration.md b/docs/storage-node-configuration.md index 5043ffd67..1139e83a2 100644 --- a/docs/storage-node-configuration.md +++ b/docs/storage-node-configuration.md @@ -130,8 +130,8 @@ contracts: ```yaml morph: - dial_timeout: 30s - disable_cache: true + dial_timeout: 30s + cache_ttl: 15s rpc_endpoint: - address: wss://rpc1.morph.fs.neo.org:40341/ws priority: 1 @@ -139,11 +139,11 @@ morph: priority: 2 ``` -| Parameter | Type | Default value | Description | -|-----------------|-----------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------| -| `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.
NOTE: Setting this to `true` can slow down the node considerably. | -| `rpc_endpoint` | list of [endpoint descriptions](#rpc_endpoint-subsection) | | Array of endpoint descriptions. | +| Parameter | Type | Default value | Description | +|----------------|-----------------------------------------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| `dial_timeout` | `duration` | `5s` | Timeout for dialing connections to N3 RPCs. | +| `cache_ttl` | `duration` | `30s` | Sidechain cache TTL value (min interval between similar calls).
Negative value disables caching.
Cached entities: containers, container lists, eACL tables. | +| `rpc_endpoint` | list of [endpoint descriptions](#rpc_endpoint-subsection) | | Array of endpoint descriptions. | ## `rpc_endpoint` subsection | Parameter | Type | Default value | Description |