This commit is contained in:
2020-09-07 16:10:29 +08:00
parent 5cbf792474
commit 4b3173922e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class OnManagerStart extends Callback
public function onHandler(Server $server)
{
$this->debug('manager start.');
Snowflake::setProcessId($server->manager_pid);
Snowflake::setWorkerId($server->manager_pid);
$events = Snowflake::app()->event;
if ($events->exists(Event::SERVER_MANAGER_START)) {