Fix npm run dev:server
This commit is contained in:
parent
b889cdb2c6
commit
8244c85ad6
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
if [ ! -f "./client/dist/index.html" ]; then
|
if [ ! -f "./client/dist/en_US/index.html" ]; then
|
||||||
echo "client/dist/index.html does not exist, compile client files..."
|
echo "client/dist/en_US/index.html does not exist, compile client files..."
|
||||||
npm run build:client
|
npm run build:client
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -452,7 +452,7 @@ const FEEDS = {
|
||||||
|
|
||||||
const TRACKER_RATE_LIMITS = {
|
const TRACKER_RATE_LIMITS = {
|
||||||
INTERVAL: 60000 * 5, // 5 minutes
|
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
|
ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue