summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-04-28 08:53:14 +0200
committerfranck cuny <franck@lumberjaph.net>2010-04-28 08:53:14 +0200
commit1e1dd5fbbbc8c7c3530ce7451d0f72fd383b7561 (patch)
tree746bc69563e33b0eda49c7b6427675c16e87dcaf
parentnew readme (diff)
downloadplack-middleware-throttle-1e1dd5fbbbc8c7c3530ce7451d0f72fd383b7561.tar.gz
POD fix
-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.