diff options
Diffstat (limited to 'src/common/Throttle.cc')
-rw-r--r-- | src/common/Throttle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Throttle.cc b/src/common/Throttle.cc index 844263aa111..82ffe7a9fc5 100644 --- a/src/common/Throttle.cc +++ b/src/common/Throttle.cc @@ -65,7 +65,7 @@ Throttle::~Throttle() void Throttle::_reset_max(int64_t m) { assert(lock.is_locked()); - if (m < ((int64_t)max.read()) && !cond.empty()) + if (!cond.empty()) cond.front()->SignalOne(); logger->set(l_throttle_max, m); max.set((size_t)m); |