Skip to content

Commit d97312d

Browse files
committed
minor #19759 Document Symfony CLI --no-workers option (yguedidi)
This PR was merged into the 5.4 branch. Discussion ---------- Document Symfony CLI `--no-workers` option As requested in symfony-cli/symfony-cli#462 Commits ------- d978dc5 Document Symfony CLI `--no-workers` option
2 parents a5977ce + d978dc5 commit d97312d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup/symfony_server.rst

+6
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ There are several options that you can set using a ``.symfony.local.yaml`` confi
327327
no_tls: true # Use HTTP instead of HTTPS
328328
daemon: true # Run the server in the background
329329
use_gzip: true # Toggle GZIP compression
330+
no_workers: true # Do not start workers
330331
331332
.. caution::
332333

@@ -364,6 +365,11 @@ If you like some processes to start automatically, along with the webserver
364365
# auto start Docker compose when starting server (available since Symfony CLI 5.7.0)
365366
docker_compose: ~
366367
368+
.. tip::
369+
370+
You may want to not start workers on some environments like CI. You can use the
371+
``--no-workers`` option to start the server without starting workers.
372+
367373
.. _symfony-server-docker:
368374

369375
Docker Integration

0 commit comments

Comments
 (0)