Skip to content

Commit a5dba1a

Browse files
authored
Avoid bottleneck in 'ydb debug latency' itself (#17685)
1 parent f767409 commit a5dba1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/public/lib/ydb_cli/commands/ydb_latency.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ void TCommandLatency::Config(TConfig& config) {
198198
void TCommandLatency::Parse(TConfig& config) {
199199
TClientCommand::Parse(config);
200200

201+
if (MaxInflight >= 4) {
202+
config.IsNetworkIntensive = true;
203+
}
204+
201205
if (Percentiles.empty()) {
202206
Percentiles = DEFAULT_PERCENTILES;
203207
}

0 commit comments

Comments
 (0)