Limited player upload peak using CLI max-chunks-per-second parameter

This commit is contained in:
Shoghi Cervantes
2013-06-10 01:20:28 +02:00
parent affd67debe
commit ee7c767c16
2 changed files with 3 additions and 2 deletions

View File

@ -37,6 +37,7 @@ define("VIEWER", 3);
//Players
define("MAX_CHUNK_RATE", 20 / arg("max-chunks-per-second", 3.5)); //Default rate ~172 kB/s
define("PLAYER_MAX_RECOVERY_BUFFER", 1024);
define("PLAYER_SURVIVAL_SLOTS", 36);