mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Increased RCON max clients per thread to 25 (total 100 clients)
This commit is contained in:
parent
b759863bb1
commit
02bbfb60b6
@ -30,7 +30,7 @@ the Free Software Foundation, either version 3 of the License, or
|
|||||||
class RCON{
|
class RCON{
|
||||||
private $socket, $password, $workers, $threads;
|
private $socket, $password, $workers, $threads;
|
||||||
|
|
||||||
public function __construct($password, $port = 19132, $interface = "0.0.0.0", $threads = 4, $clientsPerThread = 5){
|
public function __construct($password, $port = 19132, $interface = "0.0.0.0", $threads = 4, $clientsPerThread = 25){
|
||||||
$this->workers = array();
|
$this->workers = array();
|
||||||
$this->password = (string) $password;
|
$this->password = (string) $password;
|
||||||
console("[INFO] Starting remote control listener");
|
console("[INFO] Starting remote control listener");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user