This commit is contained in:
2021-09-06 14:20:04 +08:00
parent 3eeca0315a
commit 728f95492f
3 changed files with 20 additions and 13 deletions
+4 -4
View File
@@ -49,10 +49,10 @@ class OnServerWorker extends \Server\Abstracts\Server
}
/**
* @param $workerId
* @throws \Exception
*/
/**
* @param OnBeforeWorkerStart $worker
* @throws Exception
*/
public function setConfigure(OnBeforeWorkerStart $worker)
{
ServerManager::setEnv('worker', $worker->workerId);