]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: use a constexpr to specify standard # of bucket entries to list
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 6 Sep 2019 22:02:54 +0000 (18:02 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 24 Jan 2020 18:44:09 +0000 (13:44 -0500)
commit6df531114c306f36842c462b8e7536c3f0315793
treefca01057d276c52038efedb2493a220413c9639a
parentd24040787a4d9b62b074ddadc4c6bf0f9a4eacec
rgw: use a constexpr to specify standard # of bucket entries to list

Rather than hard-coding literals (of 1000) throughout the code, use a
constexpr given it's the standard chunk we're reading from a bucket
index.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_bucket.cc
src/rgw/rgw_bucket.h