Skip to content

Commit 76b6256

Browse files
committed
Merge branch '5.2' into 5.3
* 5.2: Add a note about `messenger:stop-workers` command
2 parents 1aa8935 + 6db210d commit 76b6256

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

messenger.rst

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

488+
**Use the Same Cache Between Deploys**
489+
If your deploy strategy involves the creation of new target directories, you
490+
should set a value for the :ref:`cache.prefix.seed <reference-cache-prefix-seed>`
491+
configuration option in order to use the same cache namespace between deployments.
492+
Otherwise, the ``cache.app`` pool will use the value of the ``kernel.project_dir``
493+
parameter as base for the namespace, which will lead to different namespaces
494+
each time a new deployment is made.
495+
488496
Prioritized Transports
489497
~~~~~~~~~~~~~~~~~~~~~~
490498

0 commit comments

Comments
 (0)