Skip to content

Commit 42d1f79

Browse files
committed
Add a note about messenger:stop-workers command
1 parent 5b6ff21 commit 42d1f79

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)