diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-04 16:42:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-04 16:42:40 +0200 |
commit | c1340a6ac35f924161e6ec2a1d728e20c89e55c8 (patch) | |
tree | 8f0a6b72b36be586422002039720d3a08309cbea /config/test.yaml | |
parent | fd0bfc3ac43eb0c0c2ac0b21bc2e0670f546384f (diff) | |
download | PeerTube-c1340a6ac35f924161e6ec2a1d728e20c89e55c8.tar.gz PeerTube-c1340a6ac35f924161e6ec2a1d728e20c89e55c8.tar.zst PeerTube-c1340a6ac35f924161e6ec2a1d728e20c89e55c8.zip |
Add rate limit to registration and API endpoints
Diffstat (limited to 'config/test.yaml')
-rw-r--r-- | config/test.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/test.yaml b/config/test.yaml index 8d3921614..0a5df75be 100644 --- a/config/test.yaml +++ b/config/test.yaml | |||
@@ -5,6 +5,14 @@ listen: | |||
5 | webserver: | 5 | webserver: |
6 | https: false | 6 | https: false |
7 | 7 | ||
8 | rates_limit: | ||
9 | signup: | ||
10 | window: 10 minutes | ||
11 | max: 50 | ||
12 | login: | ||
13 | window: 5 minutes | ||
14 | max: 20 | ||
15 | |||
8 | database: | 16 | database: |
9 | hostname: 'localhost' | 17 | hostname: 'localhost' |
10 | port: 5432 | 18 | port: 5432 |