frostfs-node/pkg/morph
Evgenii Stratonikov df055fead5 [#931] morph: Provide batch size for container listing explicitly
Besides VM stack item limit we also have restrictions on the size of
JSON for a stackitem, which is 128k. This limit is much harder to
calculate, because JSON representation includes type and the encoding is
different for different items. Thus is makes no sense to invent our own
default, so use the one provided by neo-go. But for container listing we
know exactly what we process, so use big enough value, which is tested.

Introduced in be8607a1f6.

Refs #902
Refs https://github.com/nspcc-dev/neo-go/blob/v0.105.0/pkg/vm/stackitem/json.go#L353

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-29 14:00:11 +00:00
..
client [#931] morph: Provide batch size for container listing explicitly 2024-01-29 14:00:11 +00:00
event [#895] test: Fix NewLogger arguments list 2024-01-11 12:32:09 +00:00
metrics [#424] morph: Fix cache metrics 2023-06-14 18:26:19 +03:00
subscriber [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
timer [#411] Remove unnecessary pointers for sync objects 2023-05-31 10:19:14 +00:00