Swoole\Process\Manager->setIPCType

Latest version: pecl install openswoole-4.11.1

Declaration

<?php Swoole\Process\Manager->setIPCType(int $ipcType)

Parameters

ipcType

SWOOLE_IPC_NONE: disable IPC. SWOOLE_IPC_MSGQUEUE: use system msg queue for IPC, for adding new task message into the worker pool. SWOOLE_IPC_SOCKET: use Socket for IPC.

Return

Description

Set the IPC Type of the process manager.

Example

Last updated on March 31, 2022