This commit is contained in:
2020-08-31 15:07:37 +08:00
parent 81130960d3
commit db0005f136
2 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -15,13 +15,13 @@ class ServerManager
/**
* @param $pool
* @param $process
* @param $application
* @param $workerId
* @return mixed
*/
public static function create($pool, $process, $application, $workerId)
public static function create($pool, $process, $workerId)
{
try {
$application = Snowflake::get();
if (is_string($process) && class_exists($process)) {
return static::createProcess($process, $application, $pool, $workerId);
}