mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 17:28:12 +00:00
perf(protos): cache internode msgpack-only flag (#5191)
Cache the internode msgpack-only env gate after the first read so metadata RPC send paths avoid repeated environment parsing. Keep a reset hook for tests that intentionally change the env in-process. Co-authored-by: heihutu <heihutu@gmail.com>
This commit is contained in:
@@ -54,3 +54,4 @@ doctest = false
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = { workspace = true }
|
||||
temp-env = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user