docs: update rate limiting
This commit is contained in:
@@ -30,7 +30,7 @@ version: 0.1.7
|
|||||||
gateway:
|
gateway:
|
||||||
routes:
|
routes:
|
||||||
- name: Example
|
- name: Example
|
||||||
rateLimit: 60 # peer minute
|
rateLimit: 60 # per minute
|
||||||
```
|
```
|
||||||
|
|
||||||
Example of global rate limiting middleware
|
Example of global rate limiting middleware
|
||||||
@@ -38,7 +38,7 @@ Example of global rate limiting middleware
|
|||||||
```yaml
|
```yaml
|
||||||
version: 0.1.7
|
version: 0.1.7
|
||||||
gateway:
|
gateway:
|
||||||
rateLimit: 60 # peer minute
|
rateLimit: 60 # per minute
|
||||||
routes:
|
routes:
|
||||||
- name: Example
|
- name: Example
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user