File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
ydb/library/yql/providers/yt/common Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -219,25 +219,9 @@ TYtConfiguration::TYtConfiguration()
219
219
.NonEmpty ()
220
220
.ValueSetter ([this ] (const TString& cluster, TSet<TString> trees) {
221
221
HybridDqExecution = false ;
222
- if (ALL_CLUSTERS == cluster) {
223
- PoolTrees.UpdateAll ([&trees] (const TString&, TSet<TString>& val) {
224
- val.insert (trees.begin (), trees.end ());
225
- });
226
- } else {
227
- PoolTrees[cluster].insert (trees.begin (), trees.end ());
228
- }
229
- });
230
- REGISTER_SETTING (*this , TentativePoolTrees)
231
- .NonEmpty ()
232
- .ValueSetter ([this ] (const TString& cluster, TSet<TString> trees) {
233
- if (ALL_CLUSTERS == cluster) {
234
- TentativePoolTrees.UpdateAll ([&trees] (const TString&, TSet<TString>& val) {
235
- val.insert (trees.begin (), trees.end ());
236
- });
237
- } else {
238
- TentativePoolTrees[cluster].insert (trees.begin (), trees.end ());
239
- }
222
+ PoolTrees[cluster] = trees;
240
223
});
224
+ REGISTER_SETTING (*this , TentativePoolTrees).NonEmpty ();
241
225
REGISTER_SETTING (*this , TentativeTreeEligibilitySampleJobCount);
242
226
REGISTER_SETTING (*this , TentativeTreeEligibilityMaxJobDurationRatio);
243
227
REGISTER_SETTING (*this , TentativeTreeEligibilityMinJobDuration);
You can’t perform that action at this time.
0 commit comments