File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -473,9 +473,9 @@ static TInterconnectSettings GetInterconnectSettings(const NKikimrConfig::TInter
473
473
if (config.HasNumPreallocatedBuffers ()) {
474
474
result.NumPreallocatedBuffers = config.GetNumPreallocatedBuffers ();
475
475
}
476
- if (config. HasEnableExternalDataChannel ()) {
477
- result.EnableExternalDataChannel = config.GetEnableExternalDataChannel ();
478
- }
476
+
477
+ result.EnableExternalDataChannel = config.GetEnableExternalDataChannel ();
478
+
479
479
if (config.HasValidateIncomingPeerViaDirectLookup ()) {
480
480
result.ValidateIncomingPeerViaDirectLookup = config.GetValidateIncomingPeerViaDirectLookup ();
481
481
}
@@ -495,15 +495,13 @@ static TInterconnectSettings GetInterconnectSettings(const NKikimrConfig::TInter
495
495
result.EventDelay = TDuration::MicroSeconds (config.GetEventDelayMicrosec ());
496
496
}
497
497
498
- if (config.HasSocketSendOptimization ()) {
499
- switch (config.GetSocketSendOptimization ()) {
500
- case NKikimrConfig::TInterconnectConfig::IC_SO_DISABLED:
501
- result.SocketSendOptimization = ESocketSendOptimization::DISABLED;
502
- break ;
503
- case NKikimrConfig::TInterconnectConfig::IC_SO_MSG_ZEROCOPY:
504
- result.SocketSendOptimization = ESocketSendOptimization::IC_MSG_ZEROCOPY;
505
- break ;
506
- }
498
+ switch (config.GetSocketSendOptimization ()) {
499
+ case NKikimrConfig::TInterconnectConfig::IC_SO_DISABLED:
500
+ result.SocketSendOptimization = ESocketSendOptimization::DISABLED;
501
+ break ;
502
+ case NKikimrConfig::TInterconnectConfig::IC_SO_MSG_ZEROCOPY:
503
+ result.SocketSendOptimization = ESocketSendOptimization::IC_MSG_ZEROCOPY;
504
+ break ;
507
505
}
508
506
509
507
return result;
You can’t perform that action at this time.
0 commit comments