]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
docs/radosgw: edit admin.rst "enable/disable user rate limit" 55194/head
authorZac Dover <zac.dover@proton.me>
Sat, 13 Jan 2024 18:06:12 +0000 (04:06 +1000)
committerZac Dover <zac.dover@proton.me>
Tue, 16 Jan 2024 13:53:25 +0000 (23:53 +1000)
Edit "Enable/Disable User Rate Limit" in doc/radosgw/admin.rst.

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

doc/radosgw/admin.rst

index 57d38c97ab2fffbd4a22e8117d35c771097846f7..4fb8ffe749abe67d3f8f417289a6211188ce7980 100644 (file)
@@ -701,16 +701,21 @@ A value of ``0`` assigned to ``--max-read-ops``, ``--max-read-bytes``,
 limit.  
 
 
-Enable/Disable User Rate Limit
-------------------------------
+Enable and Disable User Rate Limit
+----------------------------------
 
-Once you set a user rate limit, you may enable it. For example:: 
+After you have set a user rate limit, you must enable it in order for it to
+take effect. Run a command of the following form to enable a user rate limit: 
 
-       radosgw-admin ratelimit enable --ratelimit-scope=user --uid=<uid>
+.. prompt:: bash
+
+   radosgw-admin ratelimit enable --ratelimit-scope=user --uid=<uid>
 
-You may disable an enabled user rate limit. For example:: 
+To disable an enabled user rate limit, run a command of the following form: 
+
+.. prompt:: bash
 
-       radosgw-admin ratelimit disable --ratelimit-scope=user --uid=johndoe
+   radosgw-admin ratelimit disable --ratelimit-scope=user --uid=johndoe
 
 
 Set Bucket Rate Limit