Skip to content

Commit

Permalink
fix busy loop
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
  • Loading branch information
Little-Wallace committed Jun 19, 2023
1 parent 5b816a6 commit bc252ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ mod default {
}

pub fn periodic_space_reclaim_compaction_interval_sec() -> u64 {
3600 // 60min
600 // 10min
}

pub fn periodic_ttl_reclaim_compaction_interval_sec() -> u64 {
Expand Down
1 change: 0 additions & 1 deletion src/meta/src/hummock/compaction_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@ where
let compactor = match self.hummock_manager.get_idle_compactor().await {
Some(compactor) => compactor,
None => {
let _ = sched_channel.try_sched_compaction(compaction_group, task_type);
return false;
}
};
Expand Down

0 comments on commit bc252ee

Please sign in to comment.