Skip to content

Commit

Permalink
Fixed default value
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Dec 11, 2024
1 parent a364481 commit 977faeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/core/fq/libs/config/protos/row_dispatcher.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ message TJsonParserConfig {
}

message TCompileServiceConfig {
uint64 ParallelCompilationLimit = 1; // 1 by default, 0 <=> unlimited
uint64 ParallelCompilationLimit = 1; // 1 by default
}

message TRowDispatcherConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class TPurecalcCompileService : public NActors::TActor<TPurecalcCompileService>
TPurecalcCompileService(const NConfig::TCompileServiceConfig& config, NMonitoring::TDynamicCounterPtr counters)
: TBase(&TPurecalcCompileService::StateFunc)
, Config(config)
, InFlightLimit(Config.GetParallelCompilationLimit() ? Config.GetParallelCompilationLimit() : std::numeric_limits<ui64>::max())
, InFlightLimit(Config.GetParallelCompilationLimit() ? Config.GetParallelCompilationLimit() : 1)
, LogPrefix("TPurecalcCompileService: ")
, Counters(counters)
{}
Expand Down

0 comments on commit 977faeb

Please sign in to comment.