Skip to content

Commit

Permalink
update GetDelay comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuval-Ariel committed May 14, 2023
1 parent c4efc92 commit fd1a5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/write_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ bool WriteController::IsStopped() const {
return total_stopped_.load(std::memory_order_relaxed) > 0;
}

// This is inside DB mutex, so we can't sleep and need to minimize
// This is inside the calling DB mutex, so we can't sleep and need to minimize
// frequency to get time.
// If it turns out to be a performance issue, we can redesign the thread
// synchronization model here.
Expand Down

0 comments on commit fd1a5c6

Please sign in to comment.