]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/quota: remove base class AsyncRefreshHandler 54619/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 22 Nov 2023 19:42:07 +0000 (14:42 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Nov 2023 19:47:15 +0000 (14:47 -0500)
commit9b1aed0838c415ab79bf7436aefe7c394e929355
treeefbeaa7da78ba13f297b690b80140555d01ad497
parent24de70f59728d4b9b7da1e7aee2975add7a6af1c
rgw/quota: remove base class AsyncRefreshHandler

instead of using a virtual `allocate_refresh_handler()` to create an
object to call the virtual `AsyncRefreshHandler::init_fetch()` on, just
provide one virtual `init_refresh()` to start the operation. this avoids
the need for `AsyncRefreshHandler` altogether

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_quota.cc