File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ class TExtCountersUpdaterActor
177177 ExecuteLatencyMsPrevValues[n] = value;
178178 if (ExecuteLatencyMsBounds[n] == 0 ) {
179179 NMonitoring::TBucketBound bound = snapshot->UpperBound (n);
180- ExecuteLatencyMsBounds[n] = bound == Max<NMonitoring::TBucketBound>() ? Max<ui64>() : bound;
180+ ExecuteLatencyMsBounds[n] = bound == Max<NMonitoring::TBucketBound>() ? Max<ui64>() : ui64 ( bound) ;
181181 }
182182 }
183183 metrics->AddMetric (" queries.requests" , total);
Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ Y_UNIT_TEST_SUITE(BuildStatsHistogram) {
746746
747747 ui32 operator ()(const TRow&) noexcept
748748 {
749- auto x = Random.Uniform (1 << Buckets);
749+ auto x = Random.Uniform (1 , 1 << Buckets);
750750 return Min (ui32 (log2 (x)), Buckets - 1 );
751751 }
752752
You can’t perform that action at this time.
0 commit comments