]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
throttle: fix off by one issue
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 27 Mar 2012 23:27:26 +0000 (16:27 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 27 Mar 2012 23:27:26 +0000 (16:27 -0700)
commitd5360968617ebb7e7b6fcb1026c2c11e53b8833a
treef114d6bf82d6e5bbee47e797ebc0eeb632bae91e
parenta52d048ac429c3d2b6a9286d96253308f6588762
throttle: fix off by one issue

We were blocking only if we exceeded max count, not if
we reached it.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/common/Throttle.h