aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2023-05-29 14:40:51 +0300
committerDaniil Cherednik <dan.cherednik@gmail.com>2023-05-29 14:40:51 +0300
commit1db08b73476ce8a181ff6163ec91305fe7a8cc56 (patch)
tree7b74d82986002e3cc436a2c499cf5bf983d52ef8
parentb5a989b16cafa8a3b3bc076f1097a0eda6f48c06 (diff)
downloadydb-1db08b73476ce8a181ff6163ec91305fe7a8cc56.tar.gz
Ydb stable 23-1-26-hotfix-123.1.26.hotfix.1
x-stable-origin-commit: c5470e06dda20e57714f72d1bdc5fc8102b9e54c
-rw-r--r--ydb/library/yaml_config/yaml_config_parser.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ydb/library/yaml_config/yaml_config_parser.cpp b/ydb/library/yaml_config/yaml_config_parser.cpp
index 179ecf2a9d..1b972e6e0f 100644
--- a/ydb/library/yaml_config/yaml_config_parser.cpp
+++ b/ydb/library/yaml_config/yaml_config_parser.cpp
@@ -271,6 +271,11 @@ namespace NKikimr::NYaml {
}
auto& config = json["actor_system_config"];
+
+ if (config.Has("use_auto_config") && config["use_auto_config"].GetBooleanSafe()) {
+ return; // do nothing for auto config
+ }
+
auto& executors = config["executor"];
const std::vector<std::pair<TString, TString>> defaultExecutors = {{"io_executor", "IO"}, {"sys_executor", "SYSTEM"}, {"user_executor", "USER"}, {"batch_executor", "BATCH"}};