]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/ConfigMonitor: load_config() a bit less often
authorSage Weil <sage@redhat.com>
Fri, 5 Jan 2018 15:17:45 +0000 (09:17 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Mar 2018 20:44:48 +0000 (14:44 -0600)
commitd75459351f36b1999277844d9722ed0258902702
tree56f200e3011d15be9f5a2bd07a82aa49e098b59d
parentdb62d92427be6dd22af5509d12c0bad26335fc64
mon/ConfigMonitor: load_config() a bit less often

We could get very clever and avoid reparsing the full config every time
too, but that is a bit more work.  Leave that as a TODO.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/ConfigMonitor.cc