]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: factor un-backoff into helper; add missing config option
authorSage Weil <sage@redhat.com>
Tue, 25 Jul 2017 22:41:53 +0000 (18:41 -0400)
committerSage Weil <sage@redhat.com>
Wed, 26 Jul 2017 11:53:31 +0000 (07:53 -0400)
commitbde53e38014b1b56d5d1168008964c52bbdcfff8
tree33961db19869e95b9947fb17f07df70bd46f7a42
parentf0b5900025e227fd90c2cce773a29f8944880b2a
mon/MonClient: factor un-backoff into helper; add missing config option

- move this into a helper
- use the backoff factor for the division instead of hard-coding 2.0
- add a min config option instead of hard-coding 1.0

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/options.cc
src/mon/MonClient.cc
src/mon/MonClient.h