Added 4 RCON threads

This commit is contained in:
Shoghi Cervantes Pueyo
2013-04-22 14:29:30 +02:00
parent 1cb3e25bf9
commit d08807abaf
4 changed files with 20 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ the Free Software Foundation, either version 3 of the License, or
class RCON{
private $socket, $password, $workers, $threads;
public function __construct($password, $port = 19132, $threads = 1){
public function __construct($password, $port = 19132, $threads = 4){
$this->workers = array();
$this->password = (string) $password;
console("[INFO] Starting remote control listener");