Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuval-Ariel committed Feb 11, 2024
1 parent 4ea59f7 commit 068c299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/column_family.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ void ColumnFamilyData::SetL0BaseCompactionSpeed(uint64_t size) {
ioptions_.clock->NowMicros() - l0_start_clearance_time_;
assert(l0_clearance_dur > 0);
const int micros_in_sec = 1000000;
auto cur_speed = (size / l0_clearance_dur) * micros_in_sec;
uint64_t cur_speed = (size / l0_clearance_dur) * micros_in_sec;
if (first_l0_comp_) {
first_l0_comp_ = false;
// Since first compaction is more prone to variability in speed we'd
Expand Down

0 comments on commit 068c299

Please sign in to comment.