summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Plack/Middleware/Throttle.pm2
-rw-r--r--lib/Plack/Middleware/Throttle/Interval.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/Plack/Middleware/Throttle.pm b/lib/Plack/Middleware/Throttle.pm
index 25b2aad..3100325 100644
--- a/lib/Plack/Middleware/Throttle.pm
+++ b/lib/Plack/Middleware/Throttle.pm
@@ -212,6 +212,8 @@ or
 
 The cache object must implement B<get>, B<set> and B<incr> methods. By default, you can use C<Plack::Middleware::Throttle::Backend::Hash>.
 
+By default, if no backend is specified, L<Plack::Middleware::Throttle::Backend::Hash> is used.
+
 =item B<key_prefix>
 
 Key to prefix sessions entry in the cache.
diff --git a/lib/Plack/Middleware/Throttle/Interval.pm b/lib/Plack/Middleware/Throttle/Interval.pm
index cd40fde..40312d2 100644
--- a/lib/Plack/Middleware/Throttle/Interval.pm
+++ b/lib/Plack/Middleware/Throttle/Interval.pm
@@ -52,7 +52,7 @@ How many request an host can do between an interval of time (in seconds).
 
 =over 4
 
-=item B<in>
+=item B<min>
 
 How many requets can be done in an interval of time.