diff options
-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 | ||