mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38:14 -05:00
Update webman.php
This commit is contained in:
parent
bb708d6084
commit
ec63e05575
@ -7,7 +7,7 @@ use Workerman\Worker;
|
||||
Adapterman::init();
|
||||
|
||||
$http_worker = new Worker('http://127.0.0.1:7010');
|
||||
$http_worker->count = getenv('WEBMAN_WORKERS') ?? (swoole_cpu_num() ?? 1);
|
||||
$http_worker->count = getenv('WEBMAN_WORKERS') ?: (swoole_cpu_num() ?: 1);
|
||||
$http_worker->name = 'AdapterMan';
|
||||
|
||||
$http_worker->onWorkerStart = static function () {
|
||||
|
Loading…
Reference in New Issue
Block a user