diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-29 09:33:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-29 09:33:36 +0200 |
commit | 8244c85ad668d38f984f975ddc3c7e4e93cde050 (patch) | |
tree | 1b45e1a76bc3fea499933a558335f199988e3657 | |
parent | b889cdb2c6c0ec953e893f3d87cf8da426dcf7ee (diff) | |
download | PeerTube-8244c85ad668d38f984f975ddc3c7e4e93cde050.tar.gz PeerTube-8244c85ad668d38f984f975ddc3c7e4e93cde050.tar.zst PeerTube-8244c85ad668d38f984f975ddc3c7e4e93cde050.zip |
Fix npm run dev:server
-rwxr-xr-x | scripts/dev/server.sh | 4 | ||||
-rw-r--r-- | server/initializers/constants.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh index bfe322ce1..9b8fddac6 100755 --- a/scripts/dev/server.sh +++ b/scripts/dev/server.sh | |||
@@ -2,8 +2,8 @@ | |||
2 | 2 | ||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | if [ ! -f "./client/dist/index.html" ]; then | 5 | if [ ! -f "./client/dist/en_US/index.html" ]; then |
6 | echo "client/dist/index.html does not exist, compile client files..." | 6 | echo "client/dist/en_US/index.html does not exist, compile client files..." |
7 | npm run build:client | 7 | npm run build:client |
8 | fi | 8 | fi |
9 | 9 | ||
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 4e1c8dda7..67df3df80 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -452,7 +452,7 @@ const FEEDS = { | |||
452 | 452 | ||
453 | const TRACKER_RATE_LIMITS = { | 453 | const TRACKER_RATE_LIMITS = { |
454 | INTERVAL: 60000 * 5, // 5 minutes | 454 | INTERVAL: 60000 * 5, // 5 minutes |
455 | ANNOUNCES_PER_IP_PER_INFOHASH: 10, // maximum announces per torrent in the interval | 455 | ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval |
456 | ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval | 456 | ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval |
457 | } | 457 | } |
458 | 458 | ||