Fix npm run dev:server
authorChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 07:33:36 +0000 (09:33 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 07:33:36 +0000 (09:33 +0200)
scripts/dev/server.sh
server/initializers/constants.ts

index bfe322ce1e94ffe7fdc09d79d3af344f8d3fcce8..9b8fddac6595c2c68a225a65e415bad0315f4781 100755 (executable)
@@ -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
 
index 4e1c8dda7fb3706d6576af32de29737096c958cb..67df3df80d9a3f6ba31a0d96a44f7cd54d958cf0 100644 (file)
@@ -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
 }