]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: allow "0" cost items to be queued by TokenBucketThrottle
authorMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 18:30:31 +0000 (18:30 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 19:25:08 +0000 (19:25 +0000)
commit4f7780a92c482562974923360e6b2d11bd8ffa58
treed1855fbe0871471bdfceb1d018bd953f5acf382d
parentd27071a4bed0e9a647645fe0e4e97e6ebaf8b5d7
common: allow "0" cost items to be queued by TokenBucketThrottle

They will be queued if there are already blockers.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/common/Throttle.h