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: v19.3.0~225^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55169%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 --- diff --git a/doc/radosgw/admin.rst b/doc/radosgw/admin.rst index 57d38c97ab2f..4fb8ffe749ab 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