Compare commits

..

1 commit

Author SHA1 Message Date
bfa9ae7937 [#185] Update SDK to support new tree/pool version
All checks were successful
/ DCO (pull_request) Successful in 1m35s
/ Vulncheck (pull_request) Successful in 7m16s
/ Lint (pull_request) Successful in 8m19s
/ Tests (pull_request) Successful in 2m9s
/ Builds (pull_request) Successful in 2m5s
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2024-12-20 15:24:08 +03:00
2 changed files with 5 additions and 5 deletions

View file

@ -343,10 +343,10 @@ cache:
lifetime: 1m lifetime: 1m
``` ```
| Parameter | Type | Default value | Description | | Parameter | Type | Default value | Description |
|-----------|-----------------------------------|---------------------------------|-------------------------------------------------------------| |-----------|-----------------------------------|---------------------------------|---------------------------------------------------------------------------|
| `buckets` | [Cache config](#cache-subsection) | `lifetime: 60s`<br>`size: 1000` | Cache which contains mapping of bucket name to bucket info. | | `buckets` | [Cache config](#cache-subsection) | `lifetime: 60s`<br>`size: 1000` | Cache which contains mapping of bucket name to bucket info. |
| `netmap` | [Cache config](#cache-subsection) | `lifetime: 1m` | Cache which stores netmap. | | `netmap` | [Cache config](#cache-subsection) | `lifetime: 1m` | Cache which stores netmap. `netmap.size` isn't applicable for this cache. |
#### `cache` subsection #### `cache` subsection

View file

@ -25,7 +25,7 @@ type (
) )
const ( const (
DefaultNetmapCacheLifetime = 1 * time.Minute DefaultNetmapCacheLifetime = time.Minute
netmapCacheSize = 1 netmapCacheSize = 1
netmapKey = "netmap" netmapKey = "netmap"
) )