]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/radosgw: edit "Enable/Disable Bucket Rate Limit" 55261/head
authorZac Dover <zac.dover@proton.me>
Tue, 16 Jan 2024 10:37:17 +0000 (20:37 +1000)
committerZac Dover <zac.dover@proton.me>
Sun, 21 Jan 2024 09:47:55 +0000 (19:47 +1000)
Edit "Enable/Disable Bucket Rate Limit" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit a1fca50dfdcb30e58ebcc4ef60ef921b977efc81)

doc/radosgw/admin.rst

index 8b8c74de4cae3042c4727d82ed28f8ef563345e1..2b5eaef13cd10cba6bbb9b0299072cdafa7da299 100644 (file)
@@ -760,17 +760,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=<bucket>
+   radosgw-admin ratelimit enable --ratelimit-scope=bucket --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
 -------------------------------------------------