aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/dev/server.sh4
-rw-r--r--server/initializers/constants.ts2
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
3set -eu 3set -eu
4 4
5if [ ! -f "./client/dist/index.html" ]; then 5if [ ! -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
8fi 8fi
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
453const TRACKER_RATE_LIMITS = { 453const 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