File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ message TDqConfig {
124
124
optional bool EnforceJobUtc = 33 ;
125
125
optional TSpillingSettings SpillingSettings = 38 ;
126
126
optional TDiskRequest DiskRequest = 39 ;
127
+ optional bool EnforceJobYtIsolation = 40 ;
127
128
}
128
129
129
130
repeated TYtBackend YtBackends = 5 ;
Original file line number Diff line number Diff line change @@ -237,6 +237,9 @@ namespace NYql::NDq::NWorker {
237
237
if (backendConfig.GetEnforceJobUtc ()) {
238
238
pfOptions.Env [" TZ" ] = " UTC0" ;
239
239
}
240
+ if (backendConfig.GetEnforceJobYtIsolation ()) {
241
+ pfOptions.Env [" YT_ALLOW_HTTP_REQUESTS_TO_YT_FROM_JOB" ] = " 0" ;
242
+ }
240
243
pfOptions.EnablePorto = backendConfig.GetEnablePorto () == " isolate" ;
241
244
pfOptions.PortoLayer = backendConfig.GetPortoLayer ().size () == 0 ? " " : layerDir;
242
245
pfOptions.MaxProcesses = capacity*1.5 ;
You can’t perform that action at this time.
0 commit comments