@@ -112,7 +112,7 @@ namespace NKikimr {
112112 },
113113 .NodeLayout = TNodeLayoutInfoPtr (NodeLayoutInfo),
114114 .AccelerationParams = GetAccelerationParams (),
115- .LongRequestThreshold = TDuration::MilliSeconds (LongRequestThresholdMs.Update (TActivationContext::Now ())),
115+ .LongRequestThreshold = TDuration::MilliSeconds (Controls. LongRequestThresholdMs .Update (TActivationContext::Now ())),
116116 }),
117117 ev->Get ()->Deadline
118118 );
@@ -181,7 +181,10 @@ namespace NKikimr {
181181 Y_DEBUG_ABORT_UNLESS (MinREALHugeBlobInBytes);
182182 const ui32 partSize = Info->Type .PartSize (ev->Get ()->Id );
183183
184- if (EnablePutBatching && partSize < MinREALHugeBlobInBytes && partSize <= MaxBatchedPutSize) {
184+ TInstant now = TActivationContext::Now ();
185+
186+ if (Controls.EnablePutBatching .Update (now) && partSize < MinREALHugeBlobInBytes &&
187+ partSize <= MaxBatchedPutSize) {
185188 NKikimrBlobStorage::EPutHandleClass handleClass = ev->Get ()->HandleClass ;
186189 TEvBlobStorage::TEvPut::ETactic tactic = ev->Get ()->Tactic ;
187190 Y_ABORT_UNLESS ((ui64)handleClass <= PutHandleClassCount);
@@ -226,7 +229,7 @@ namespace NKikimr {
226229 .Stats = PerDiskStats,
227230 .EnableRequestMod3x3ForMinLatency = enableRequestMod3x3ForMinLatency,
228231 .AccelerationParams = GetAccelerationParams (),
229- .LongRequestThreshold = TDuration::MilliSeconds (LongRequestThresholdMs.Update (TActivationContext::Now () )),
232+ .LongRequestThreshold = TDuration::MilliSeconds (Controls. LongRequestThresholdMs .Update (now )),
230233 }),
231234 ev->Get ()->Deadline
232235 );
@@ -279,7 +282,7 @@ namespace NKikimr {
279282 .Event = ev->Get (),
280283 .ExecutionRelay = ev->Get ()->ExecutionRelay
281284 },
282- .UseVPatch = static_cast <bool >(EnableVPatch.Update (TActivationContext::Now ()))
285+ .UseVPatch = static_cast <bool >(Controls. EnableVPatch .Update (TActivationContext::Now ()))
283286 }),
284287 ev->Get ()->Deadline
285288 );
@@ -500,7 +503,7 @@ namespace NKikimr {
500503 .Stats = PerDiskStats,
501504 .EnableRequestMod3x3ForMinLatency = enableRequestMod3x3ForMinLatency,
502505 .AccelerationParams = GetAccelerationParams (),
503- .LongRequestThreshold = TDuration::MilliSeconds (LongRequestThresholdMs.Update (TActivationContext::Now ())),
506+ .LongRequestThreshold = TDuration::MilliSeconds (Controls. LongRequestThresholdMs .Update (TActivationContext::Now ())),
504507 }),
505508 ev->Get ()->Deadline
506509 );
@@ -523,7 +526,7 @@ namespace NKikimr {
523526 .Tactic = tactic,
524527 .EnableRequestMod3x3ForMinLatency = enableRequestMod3x3ForMinLatency,
525528 .AccelerationParams = GetAccelerationParams (),
526- .LongRequestThreshold = TDuration::MilliSeconds (LongRequestThresholdMs.Update (TActivationContext::Now ())),
529+ .LongRequestThreshold = TDuration::MilliSeconds (Controls. LongRequestThresholdMs .Update (TActivationContext::Now ())),
527530 }),
528531 TInstant::Max ()
529532 );
@@ -557,7 +560,7 @@ namespace NKikimr {
557560 ++*Mon->EventStopPutBatching ;
558561 LWPROBE (DSProxyBatchedPutRequest, BatchedPutRequestCount, GroupId.GetRawId ());
559562 BatchedPutRequestCount = 0 ;
560- EnablePutBatching.Update (TActivationContext::Now ());
563+ Controls. EnablePutBatching .Update (TActivationContext::Now ());
561564 }
562565
563566 void TBlobStorageGroupProxy::Handle (TEvStopBatchingGetRequests::TPtr& ev) {
0 commit comments