Skip to content

Releases: ssigwart/process-pool

1.0.6: Improved Failure Handling

13 Dec 04:30
bae8b9f
Compare
Choose a tag to compare
  • This adds ProcessPoolRequest::markAsFailed to mark a process as failed.
  • Potential Breaking Change: When calling ProcessPool::startProcess, a ProcessPoolProcessOutputBeforeStartingException will be thrown if the process has any STDOUT or STDERR output already.

1.0.5: Add Exception Messages; Fix Shutdown

09 Aug 04:00
5d1673a
Compare
Choose a tag to compare
  • 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

06 Jul 19:27
3a2abe9
Compare
Choose a tag to compare
  • 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 and hasStderrData includes if it has empty data indicating EOF.
    • Added waitForStdoutOrStderr.
  • Updated README

1.0.3: Fix blocking reads; Better error handling

06 Jun 20:52
09d855d
Compare
Choose a tag to compare
  • Fix process not being closed on exit message failure.
  • Fix blocking reads.
  • Add error handling to writes.

1.0.2: Error and EOF Fixes

04 Jun 16:27
d4f588d
Compare
Choose a tag to compare
  • Fix unexpected EOF exception on close.
  • Fix standard error output across requests.

Added Spare Process Management

05 Sep 14:45
Compare
Choose a tag to compare
  • Manage number of spare processes and kill processes in destructor

Initial Release

31 May 03:06
Compare
Choose a tag to compare
v1.0

Initial commit