sdong f62fbd2c85 Handle overflow case of rate limiter's paramters
Summary: When rate_bytes_per_sec * refill_period_us_ overflows, the actual limited rate is very low. Handle this case so the rate will be large.

Test Plan: Add a unit test for it.

Reviewers: IslamAbdelRahman, andrewkr

Reviewed By: andrewkr

Subscribers: yiwu, lightmark, leveldb, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D58929
2016-05-27 16:15:28 -07:00
..
2016-05-06 17:42:50 -07:00
2016-05-23 16:38:25 -07:00
2016-05-23 16:38:25 -07:00
2016-03-17 10:07:21 -07:00
2016-03-17 10:07:21 -07:00
2016-03-11 22:56:25 -08:00
2016-03-15 11:38:15 -07:00
2016-05-23 12:27:27 -07:00
2016-05-23 12:27:27 -07:00
2016-05-17 13:11:56 -07:00
2016-02-17 20:22:40 +08:00
2016-05-06 16:09:09 -07:00
2016-04-01 11:06:06 -07:00
2016-05-22 22:00:15 -07:00