From 5289212b8c4ddb6c05b7291138f5fb53ae0839fc Mon Sep 17 00:00:00 2001 From: Indra Gunawan Date: Wed, 14 Jun 2017 12:31:49 +0700 Subject: [PATCH] fix README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01907ac..d331be4 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Default bundle configuration indragunawan_api_rate_limit: enabled: true - # The service that is used to persist rate limit metadata. The service has to implement the Doctrine\Common\Cache\Cache interface. + # The service that is used to persist rate limit metadata. The service has to implement the Doctrine\Common\Cache\Cache interface. If no service id provided then the default storage is Filesystem (location: %kernel.cache_dir%/rate_limit). storage: null # Response header for rate limit information @@ -66,12 +66,13 @@ indragunawan_api_rate_limit: # Exception thrown when rate limit exceeded exception: status_code: 429 - message: 'API rate limit exceeded for %s.' #%s will be replace with client IP address + message: 'API rate limit exceeded for %s.' # %s will be replace with client IP address custom_exception: null ``` ### Disable on development ```yml +# app/config/config_dev.yml indragunawan_api_rate_limit: enabled: false ```