frostfs-node/cmd/frostfs-node/config
Aleksey Savchuk 4919b6a206
[#1689] node/config: Allow zero max_ops in RPC limits config
The limiter allows zeros for limits, meaning "this operation is
disabled".  However, the config didn't allow zero due to the lack of
distinction between "no value" and "zero" - cast functions read both
`nil` and zero as zero.

Now, the config allows a zero limit. Added tests.

Managing such cases should be easier after #1610.

Change-Id: Ifc840732390b2feb975f230573b34bf479406e05
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
2025-03-21 17:00:40 +03:00
..
apiclient [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
audit [#1184] config: Add audit.enabled parameter for node 2024-06-19 16:05:53 +03:00
container [#1577] node/container: Fix typo 2024-12-28 12:05:01 +03:00
contracts [#934] container: Make container APE middleware read namespaces 2024-02-01 17:38:24 +00:00
control [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
engine [#1671] Use max builtin where possible 2025-03-13 08:12:20 +00:00
grpc [#835] grpc: Try to reconnect if endpoint listen failed 2023-12-14 16:38:59 +03:00
logger [#1366] node, ir: Support timestamp config option, update tests 2024-09-17 10:50:08 +03:00
metrics [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
morph [#1375] node: Configure of the container cache size 2024-10-01 14:05:52 +00:00
multinet [#1422] config: Add multinet config 2024-10-17 13:15:08 +00:00
node [#1598] golangci: Enable unconvert linters 2025-01-14 09:06:40 +03:00
object [#1639] services/object: Remove limiting pools for Put operation 2025-02-28 11:08:09 +00:00
policer [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
profiler [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
qos [#1608] config: Add QoS section and config 2025-02-07 15:41:06 +03:00
replicator [#1639] config: Separate replicator.pool_size from other settings 2025-02-28 11:08:09 +00:00
rpc [#1689] node/config: Allow zero max_ops in RPC limits config 2025-03-21 17:00:40 +03:00
runtime [#537] node: Add runtime.memory_limit config parameter 2023-07-25 17:27:09 +03:00
test [#1459] .golanci.yml: Add tenv linter, fix issues 2024-10-30 15:18:22 +00:00
tracing [#1488] tracing: KV attributes for spans from config 2024-11-12 17:24:43 +03:00
tree [#1449] tree: Add ApplyBatch method 2024-11-12 12:11:07 +00:00
calls.go [#1606] Use slices.Clone()/bytes.Clone() where possible 2025-01-17 14:50:14 +03:00
calls_test.go [#1459] .golanci.yml: Add tenv linter, fix issues 2024-10-30 15:18:22 +00:00
cast.go [#1217] Fix grammar mistakes and misspelling 2024-07-01 19:14:25 +03:00
cast_test.go [#542] Update test for SizeInBytesSafe function 2023-08-01 13:38:00 +00:00
config.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
configdir_test.go [#1667] shard: Drop shard pool 2025-03-11 13:59:51 +03:00