Skip to content

Commit 5289212

Browse files
committed
fix README
1 parent 26de647 commit 5289212

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Default bundle configuration
4747
indragunawan_api_rate_limit:
4848
enabled: true
4949

50-
# The service that is used to persist rate limit metadata. The service has to implement the Doctrine\Common\Cache\Cache interface.
50+
# 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).
5151
storage: null
5252

5353
# Response header for rate limit information
@@ -66,12 +66,13 @@ indragunawan_api_rate_limit:
6666
# Exception thrown when rate limit exceeded
6767
exception:
6868
status_code: 429
69-
message: 'API rate limit exceeded for %s.' #%s will be replace with client IP address
69+
message: 'API rate limit exceeded for %s.' # %s will be replace with client IP address
7070
custom_exception: null
7171
```
7272
7373
### Disable on development
7474
```yml
75+
# app/config/config_dev.yml
7576
indragunawan_api_rate_limit:
7677
enabled: false
7778
```

0 commit comments

Comments
 (0)