From 8244c85ad668d38f984f975ddc3c7e4e93cde050 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Jun 2018 09:33:36 +0200 Subject: [PATCH] Fix npm run dev:server --- scripts/dev/server.sh | 4 ++-- 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 @@ 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 }