This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 01948651b5 Fix name of attribute in Javadoc
01948651b5 is described below
commit 01948651b5dd952f9f97dfc5adbffc3f26d0b401
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Dec 16 09:39:04 2024 +0000
Fix name of attribute in Javadoc
---
java/org/apache/catalina/filters/RateLimitFilter.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/java/org/apache/catalina/filters/RateLimitFilter.java
b/java/org/apache/catalina/filters/RateLimitFilter.java
index b7a4b23c2c..8e07ca8182 100644
--- a/java/org/apache/catalina/filters/RateLimitFilter.java
+++ b/java/org/apache/catalina/filters/RateLimitFilter.java
@@ -42,11 +42,11 @@ import org.apache.tomcat.util.res.StringManager;
* the bucket time ends and a new bucket starts.
* </p>
* <p>
- * The RateLimiter implementation can be set via the <code>className</code>
init param. The default implementation,
- * <code>org.apache.catalina.util.FastRateLimiter</code>, is optimized for
efficiency and low overhead so it converts
- * some configured values to more efficient values. For example, a
configuration of a 60 seconds time bucket is
- * converted to 65.536 seconds. That allows for very fast bucket calculation
using bit shift arithmetic. In order to
- * remain true to the user intent, the configured number of requests is then
multiplied by the same ratio, so a
+ * The RateLimiter implementation can be set via the
<code>rateLimitClassName</code> init param. The default
+ * implementation, <code>org.apache.catalina.util.FastRateLimiter</code>, is
optimized for efficiency and low overhead
+ * so it converts some configured values to more efficient values. For
example, a configuration of a 60 seconds time
+ * bucket is converted to 65.536 seconds. That allows for very fast bucket
calculation using bit shift arithmetic. In
+ * order to remain true to the user intent, the configured number of requests
is then multiplied by the same ratio, so a
* configuration of 100 Requests per 60 seconds, has the real values of 109
Requests per 65 seconds. You can specify a
* different class as long as it implements the
<code>org.apache.catalina.util.RateLimiter</code> interface.
* </p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]