Skip to content

Commit 6db210d

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Add a note about `messenger:stop-workers` command
2 parents c6d45e7 + 3b47f52 commit 6db210d

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
@@ -487,6 +487,14 @@ On production, there are a few important things to think about:
487487
new worker processes. The command uses the :ref:`app <cache-configuration-with-frameworkbundle>`
488488
cache internally - so make sure this is configured to use an adapter you like.
489489

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

0 commit comments

Comments
 (0)