diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ea4804131..d38dc4d9f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,8 @@ Changelog for NeoFS Node - `neofs-cli container get-eacl` print ACL table in json format only with arg `--json' (#2012) - Side chain notary deposits use max uint32 as till parameter (#1486) - Allow object removal without linking object (#2100) -- `neofs-cli container delete` command pre-checks container ownership (#2106) +- `neofs-cli container delete` command pre-checks container ownership (#2106) +- Policer cache size is now 1024 (#2158) ### Fixed - Open FSTree in sync mode by default (#1992) diff --git a/pkg/services/policer/policer.go b/pkg/services/policer/policer.go index 58e74615b0..2245ab7923 100644 --- a/pkg/services/policer/policer.go +++ b/pkg/services/policer/policer.go @@ -99,7 +99,7 @@ func defaultCfg() *cfg { return &cfg{ log: &logger.Logger{Logger: zap.L()}, batchSize: 10, - cacheSize: 200_000, // should not allocate more than 200 MiB + cacheSize: 1024, // 1024 * address size = 1024 * 64 = 64 MiB rebalanceFreq: 1 * time.Second, evictDuration: 30 * time.Second, }