We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ce1b2 commit 28be16bCopy full SHA for 28be16b
util/rate_limiter.cc
@@ -60,7 +60,7 @@ GenericRateLimiter::~GenericRateLimiter() {
60
}
61
62
void GenericRateLimiter::Request(int64_t bytes, const Env::IOPriority pri) {
63
- assert(bytes < refill_bytes_per_period_);
+ assert(bytes <= refill_bytes_per_period_);
64
65
MutexLock g(&request_mutex_);
66
if (stop_) {
0 commit comments