You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This essentially makes the entire IpcHub interface useless, as custom IPC implementations (i.e. IPC over FIFO, IPC over shared memory, et cetera) cannot override the logic of Ipc\connect() without also uselessly reimplementing the ProcessContextFactory and process-runner.php.
The text was updated successfully, but these errors were encountered:
The connect function doesn't make sense as part of the IpcHub interface (well… maybe as a static method). Rather it sounds like what you're looking for is a way to override the connection logic in process-runner.php.
Potentially an IpcConnector interface with a global instance which could be overridden by a bootstrap file specified on the command line, similar to what we did for workers.
The bootstrap file would be the most versatile solution, allowing any setup to be done before attempting to connect to the parent.
This essentially makes the entire IpcHub interface useless, as custom IPC implementations (i.e. IPC over FIFO, IPC over shared memory, et cetera) cannot override the logic of Ipc\connect() without also uselessly reimplementing the ProcessContextFactory and process-runner.php.
The text was updated successfully, but these errors were encountered: