Repository navigation
queue-prefork 1.0.4
Laravel Cloud works without extra descriptor settings, and the doctor reads containers correctly.
- gRPC with fork support: with
grpc.enable_fork_support=1on, a template no longer refuses the epoll set and eventfd that gRPC's poller opens at PHP startup. gRPC rebuilds them in each fork, as it already does its threads. On hosts that load ext-grpc, such as Laravel Cloud,QUEUE_PREFORK_ALLOW_DESCRIPTORSis no longer needed. queue-prefork:doctor:- The
queue:workline runs the template's extension checks. On hosts with New Relic or with gRPC without fork support, it now says "stock" and gives the reason, where it used to say "prefork". - In a container whose command is
php artisan horizonorqueue:work, that process is PID 1 and runs stock. The doctor now reports this, with the fix: give the container an init (init: true). - In shared-log mode, the FFI install line is marked optional.
- The
- README:
- a Laravel Cloud section with the settings and measurements. On a Flex 2 GB instance, stock fits 27 Horizon workers and prefork about 200;
- Docker's
init: truefor queue containers; - the doctor now runs on the server after the deploy.
1.0.2 and 1.0.3 were small fixes, listed in the changelog.
Full changelog: v1.0.3...v1.0.4