From: Zac Dover Date: Sat, 13 Jan 2024 18:06:12 +0000 (+1000) Subject: docs/radosgw: edit admin.rst "enable/disable user rate limit" X-Git-Tag: v18.2.4~356^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55194%2Fhead;p=ceph.git docs/radosgw: edit admin.rst "enable/disable user rate limit" Edit "Enable/Disable User Rate Limit" in doc/radosgw/admin.rst. Signed-off-by: Zac Dover (cherry picked from commit 1cd996b6fe2e3c923001a69772c7b7635d058f2b) --- diff --git a/doc/radosgw/admin.rst b/doc/radosgw/admin.rst index 57d38c97ab2ff..4fb8ffe749abe 100644 --- a/doc/radosgw/admin.rst +++ b/doc/radosgw/admin.rst @@ -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= +.. prompt:: bash + + radosgw-admin ratelimit enable --ratelimit-scope=user --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