From 8b5ca076960506f1e8d4943b71e8250fdca8d5f3 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Tue, 16 Jan 2024 20:37:17 +1000 Subject: [PATCH] doc/radosgw: edit "Enable/Disable Bucket Rate Limit" Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst. Signed-off-by: Zac Dover (cherry picked from commit a1fca50dfdcb30e58ebcc4ef60ef921b977efc81) --- doc/radosgw/admin.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/radosgw/admin.rst b/doc/radosgw/admin.rst index c09f6d591d8c9..b011fa265109f 100644 --- a/doc/radosgw/admin.rst +++ b/doc/radosgw/admin.rst @@ -766,17 +766,22 @@ A value of ``0`` assigned to ``--max-read-ops``, ``--max-read-bytes``, limit. -Enable/Disable Bucket Rate Limit --------------------------------- +Enable and Disable Bucket Rate Limit +------------------------------------ + +After you set a bucket rate limit, you can enable it. The following is the +general form of the ``radosgw-admin ratelimit enable`` command that enables +bucket rate limits: -Once you set a bucket rate limit, you may enable it. For example:: +.. prompt:: bash - radosgw-admin ratelimit enable --ratelimit-scope=bucket --bucket= + radosgw-admin ratelimit enable --ratelimit-scope=bucket --bucket= -You may disable an enabled bucket rate limit. For example:: +An enabled bucket rate limit can be disabled by running a command of the following form: - radosgw-admin ratelimit disable --ratelimit-scope=bucket --uid=mybucket +.. prompt:: bash + radosgw-admin ratelimit disable --ratelimit-scope=bucket --uid=mybucket Reading / Writing Global Rate Limit Configuration ------------------------------------------------- -- 2.39.5