This commit is contained in:
2022-09-19 18:51:30 +08:00
parent 709e40fc28
commit 2ce699faa7
+5 -1
View File
@@ -64,7 +64,11 @@ class Pool extends Component
$connection->stopHeartbeatCheck();
}
}
$this->logger->warning('channel status', $channel->stats());
if (\Kiri::isWorker() || \Kiri::isTask()) {
$state = json_encode($channel->stats(), JSON_UNESCAPED_UNICODE);
$this->logger->warning('channel status(' . env('environmental_workerId') . '): ' . $state);
}
}