This commit is contained in:
2021-04-15 20:03:23 +08:00
parent 7341a6fe4b
commit 5b70194b15
+2
View File
@@ -26,6 +26,7 @@ class OnPipeMessage extends Callback
*/
public function onHandler(Server $server, int $src_worker_id, $swollen_universalize)
{
go(function () use ($server, $src_worker_id, $swollen_universalize) {
try {
match ($swollen_universalize['action'] ?? null) {
'kafka' => $this->onKafkaWorker($swollen_universalize),
@@ -37,6 +38,7 @@ class OnPipeMessage extends Callback
} finally {
fire(Event::SYSTEM_RESOURCE_RELEASES);
}
});
}