From: Chocobozzz Date: Fri, 29 Jun 2018 07:33:36 +0000 (+0200) Subject: Fix npm run dev:server X-Git-Tag: v1.0.0-beta.10.pre.1~116 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8244c85ad668d38f984f975ddc3c7e4e93cde050;p=oweals%2Fpeertube.git Fix npm run dev:server --- 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 @@ set -eu -if [ ! -f "./client/dist/index.html" ]; then - echo "client/dist/index.html does not exist, compile client files..." +if [ ! -f "./client/dist/en_US/index.html" ]; then + echo "client/dist/en_US/index.html does not exist, compile client files..." npm run build:client fi 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 = { const TRACKER_RATE_LIMITS = { INTERVAL: 60000 * 5, // 5 minutes - ANNOUNCES_PER_IP_PER_INFOHASH: 10, // maximum announces per torrent in the interval + ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval }