Skip to content

Commit bb48ec8

Browse files
committed
minor #15329 [Messenger] Add a note about messenger:stop-workers command (phansys)
This PR was merged into the 4.4 branch. Discussion ---------- [Messenger] Add a note about `messenger:stop-workers` command **TODO**: - [x] Reword the message to make the description clearer; - [x] Check if we can provide a recipe to avoid the described problem. See [`CachePoolPass::process()`](https://github.com/symfony/cache/blob/f133937adf2bb359be0489c40821765e6b7f56b8/DependencyInjection/CachePoolPass.php#L54). Commits ------- 42d1f79 Add a note about `messenger:stop-workers` command
2 parents 781ad9f + 42d1f79 commit bb48ec8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

messenger.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,15 @@ On production, there are a few important things to think about:
493493
new worker processes. The command uses the :ref:`app <cache-configuration-with-frameworkbundle>`
494494
cache internally - so make sure this is configured to use an adapter you like.
495495

496+
.. note::
497+
498+
If your deploy strategy involves the creation of new target directories, you
499+
should set a value for the :ref:`cache.prefix.seed <reference-cache-prefix-seed>`
500+
configuration option in order to let this command use always the same cache namespace
501+
between deployments. Otherwise, the ``cache.app`` pool will use the value of the
502+
``kernel.project_dir`` parameter as base for the namespace, which will lead to
503+
different namespaces each time a new deployment is made.
504+
496505
Prioritized Transports
497506
~~~~~~~~~~~~~~~~~~~~~~
498507

0 commit comments

Comments
 (0)