This commit is contained in:
2020-11-03 19:22:20 +08:00
parent 87fc7a3ab2
commit 8cde44b4d0
+1 -1
View File
@@ -33,7 +33,7 @@ abstract class Process extends \Swoole\Process
parent::__construct(function ($process) use ($name, $class) {
if (Snowflake::isLinux()) {
$prefix = ucfirst(rtrim(Snowflake::app()->id, ':'));
$this->name($prefix . ' processes: ' . $class . '::class');
$this->name($prefix . ' ' . $class . '::class');
}
$this->onHandler($process);
}, false, 1, $enable_coroutine);