Skip to content

Commit 0f21c64

Browse files
committed
Fixed default value
1 parent 833b161 commit 0f21c64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/fq/libs/config/protos/row_dispatcher.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ message TJsonParserConfig {
2626
}
2727

2828
message TCompileServiceConfig {
29-
uint64 ParallelCompilationLimit = 1; // 1 by default, 0 <=> unlimited
29+
uint64 ParallelCompilationLimit = 1; // 1 by default
3030
}
3131

3232
message TRowDispatcherConfig {

ydb/core/fq/libs/row_dispatcher/purecalc_compilation/compile_service.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class TPurecalcCompileService : public NActors::TActor<TPurecalcCompileService>
111111
TPurecalcCompileService(const NConfig::TCompileServiceConfig& config, NMonitoring::TDynamicCounterPtr counters)
112112
: TBase(&TPurecalcCompileService::StateFunc)
113113
, Config(config)
114-
, InFlightLimit(Config.GetParallelCompilationLimit() ? Config.GetParallelCompilationLimit() : std::numeric_limits<ui64>::max())
114+
, InFlightLimit(Config.GetParallelCompilationLimit() ? Config.GetParallelCompilationLimit() : 1)
115115
, LogPrefix("TPurecalcCompileService: ")
116116
, Counters(counters)
117117
{}

0 commit comments

Comments
 (0)