|
@@ -12,8 +12,8 @@ $config["sessionName"]=null;
|
|
|
$address=$sConfig['host'].':'.$sConfig['port'];
|
|
|
$config ["siteUrl"] = 'http://'.$address;
|
|
|
require ROOT . './../vendor/autoload.php';
|
|
|
-require ROOT.'config/workerServices.php';
|
|
|
$workerServer=new \Ubiquity\servers\workerman\WorkermanServer();
|
|
|
$workerServer->init($config, __DIR__);
|
|
|
-$workerServer->setDefaultCount();
|
|
|
+$workerServer->setDefaultCount(2);
|
|
|
+require ROOT.'config/workerServices.php';
|
|
|
$workerServer->run($sConfig['host'],$sConfig['port'],$sConfig['socket']??[]);
|