Skip to content

Commit 7ea1c14

Browse files
authored
fix assigning ForceIOPoolThreads (#7138)
1 parent 45dd216 commit 7ea1c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/tools/cfg/dynamic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ def make_configure_request(self, domain):
270270
if self._cluster_details.use_auto_config:
271271
app_config.ActorSystemConfig.CpuCount = self._cluster_details.dynamic_cpu_count
272272
app_config.ActorSystemConfig.NodeType = app_config.ActorSystemConfig.ENodeType.Value('COMPUTE')
273-
app_config.ActorSystemConfig.ForceIOPoolThreads = self._cluster_details.force_io_pool_threads
273+
if self._cluster_details.force_io_pool_threads is not None:
274+
app_config.ActorSystemConfig.ForceIOPoolThreads = self._cluster_details.force_io_pool_threads
274275
action.AddConfigItem.ConfigItem.Config.CopyFrom(app_config)
275276
action.AddConfigItem.EnableAutoSplit = True
276277

0 commit comments

Comments
 (0)