summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index 9da20a3..60e63f5 100644
--- a/README
+++ b/README
@@ -7,7 +7,7 @@ SYNOPSIS
         enable "Throttle::Hourly",
             max     => 2,
             backend => Plack::Middleware::Throttle::Backend::Hash->new(),
-            path    => qr{^/foo};
+            path    => qr{^/api};
         sub { [ '200', [ 'Content-Type' => 'text/html' ], ['hello world'] ] };
       };
 
@@ -50,6 +50,9 @@ OPTIONS
         The cache object must implement get, set and incr methods. By
         default, you can use "Plack::Middleware::Throttle::Backend::Hash".
 
+        By default, if no backend is specified,
+        Plack::Middleware::Throttle::Backend::Hash is used.
+
     key_prefix
         Key to prefix sessions entry in the cache.