Releases: ssigwart/process-pool
Releases · ssigwart/process-pool
1.0.6: Improved Failure Handling
- This adds
ProcessPoolRequest::markAsFailed
to mark a process as failed. - Potential Breaking Change: When calling
ProcessPool::startProcess
, aProcessPoolProcessOutputBeforeStartingException
will be thrown if the process has any STDOUT or STDERR output already.
1.0.5: Add Exception Messages; Fix Shutdown
- Add messages to exceptions
- Min spare processes fix and shutdown fix
- PHP doesn't guarantee destructor order on shutdown and occasionally, the pool process may be shut down before the pool has time to tell it to exit.
1.0.4: Process Pool Bug Fixes and Improvements; Better Documentation
- Process pool bug fixes and improvements
- Handle exit in message handler better.
- Add
ProcessPoolUnexpectedEOFExceptionWhileWaitingForRequest
to differentiate between an EOF mid-request versus waiting for a new request. - Include start of input buffer in
ProcessPoolUnexpectedMessageException
exceptions. - Ignore exceptions when cleaning up processes in destructor.
- Handle process exit better.
- Updated documentation that
hasStdoutData
andhasStderrData
includes if it has empty data indicating EOF. - Added
waitForStdoutOrStderr
.
- Updated README
1.0.3: Fix blocking reads; Better error handling
- Fix process not being closed on exit message failure.
- Fix blocking reads.
- Add error handling to writes.
1.0.2: Error and EOF Fixes
- Fix unexpected EOF exception on close.
- Fix standard error output across requests.
Added Spare Process Management
- Manage number of spare processes and kill processes in destructor
Initial Release
v1.0 Initial commit