We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afcd50b commit b26f64cCopy full SHA for b26f64c
ydb/core/driver_lib/run/auto_config_initializer.cpp
@@ -411,8 +411,10 @@ namespace NKikimr::NAutoConfigInitializer {
411
412
namespace NKikimr {
413
bool NeedToUseAutoConfig(const NKikimrConfig::TActorSystemConfig& config) {
414
- return config.GetUseAutoConfig()
415
- || config.HasNodeType()
416
- || config.HasCpuCount();
+ bool hasSpecialFields = config.HasNodeType() || config.HasCpuCount();
+ if (!config.HasUseAutoConfig() && hasSpecialFields) {
+ return true;
417
+ }
418
+ return config.GetUseAutoConfig();
419
}
420
0 commit comments