avoid using 10MiB EC buffers in maxAPI calculations (#19665)

max requests per node is more conservative in its value
causing premature serialization of the calls, avoid it
for newer deployments.
This commit is contained in:
Harshavardhana
2024-05-03 13:08:20 -07:00
committed by GitHub
parent 4afb59e63f
commit da3e7747ca
5 changed files with 38 additions and 23 deletions

View File

@@ -244,6 +244,7 @@ type ObjectLayer interface {
Shutdown(context.Context) error
NSScanner(ctx context.Context, updates chan<- DataUsageInfo, wantCycle uint32, scanMode madmin.HealScanMode) error
BackendInfo() madmin.BackendInfo
Legacy() bool // Only returns true for deployments which use CRCMOD as its object distribution algorithm.
StorageInfo(ctx context.Context, metrics bool) StorageInfo
LocalStorageInfo(ctx context.Context, metrics bool) StorageInfo