From 2789f1bb860cc4622dd9344e6fd44effa7aede24 Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sun, 14 Jan 2024 04:06:12 +1000 Subject: [PATCH] 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) --- 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 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 -- 2.39.5