Compare commits
1 commit
4474f052de
...
bfa9ae7937
Author | SHA1 | Date | |
---|---|---|---|
bfa9ae7937 |
2 changed files with 5 additions and 5 deletions
|
@ -344,9 +344,9 @@ cache:
|
|||
```
|
||||
|
||||
| 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. |
|
||||
| `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
|
||||
|
|
2
internal/cache/netmap.go
vendored
2
internal/cache/netmap.go
vendored
|
@ -25,7 +25,7 @@ type (
|
|||
)
|
||||
|
||||
const (
|
||||
DefaultNetmapCacheLifetime = 1 * time.Minute
|
||||
DefaultNetmapCacheLifetime = time.Minute
|
||||
netmapCacheSize = 1
|
||||
netmapKey = "netmap"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue