mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 03:37:44 +08:00
Update WorkerStartCallback.php
This commit is contained in:
parent
452c90899e
commit
f3ba7cb298
@ -50,8 +50,11 @@ class WorkerStartCallback
|
||||
} else {
|
||||
$this->eventDispatcher->dispatch(new OtherWorkerStart($server, $workerId));
|
||||
}
|
||||
|
||||
$this->logger->info("Worker#{$workerId} started.");
|
||||
if ($server->taskworker) {
|
||||
$this->logger->info("TaskWorker#{$workerId} started.");
|
||||
} else {
|
||||
$this->logger->info("Worker#{$workerId} started.");
|
||||
}
|
||||
|
||||
$this->eventDispatcher->dispatch(new AfterWorkerStart($server, $workerId));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user