Skip to content

queue-prefork 1.1.1

Choose a tag to compare

@tevkert tevkert released this 19 Nov 07:21
· 12 commits to main since this release

A job that calls Artisan::call() no longer gets its worker killed.

  • Workers survive Artisan::call(): Laravel fires CommandFinished for Artisan::call() too, and the package armed its exit watchdog on that event. A job that ran an Artisan command and kept working for more than 15 seconds (exit_grace) had its worker killed mid-job, in Horizon and in plain queue:work alike. The job wasn't marked failed; it ran again after retry_after. The watchdog is now armed when the console kernel terminates, which Laravel does only for the process's own command. Contributed by Ali Gulzar (#4).

Upgrade: composer update tevkert/queue-prefork, then php artisan horizon:terminate (and queue:restart for plain workers) as after any deploy.

Full changelog: v1.1.0...v1.1.1