Commit

b55bb3e

If you write standalone PHP CLI workers outside Horizon, enabling pcntl_async_signals(true) and trapping SIGTERM to flip a $shouldStop flag lets the current loop iteration finish cleanly before exiting. Without it, a routine container restart kills a job mid-write.

commit b55bb3e