Fix an oopsie

This commit is contained in:
kotyaralih 2022-01-08 09:44:47 -08:00
parent c59b4776ae
commit 49597afe67
17 changed files with 12 additions and 8 deletions

View file

@ -147,7 +147,7 @@ class ServerAPI{
//Load advanced properties
define("DEBUG", $this->getProperty("debug", 1));
define("ADVANCED_CACHE", $this->getProperty("enable-advanced-cache", false));
define("MAX_CHUNK_RATE", 20 / $this->getProperty("max-chunks-per-second", 8)); //Default rate ~512 kB/s
//define("MAX_CHUNK_RATE", 20 / $this->getProperty("max-chunks-per-second", 8)); //Default rate ~512 kB/s
if(ADVANCED_CACHE == true){
console("[INFO] Advanced cache enabled");
}