File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -490,8 +490,19 @@ On production, there are a few important things to think about:
490
490
that they see the newly deployed code. To do this, run ``messenger:stop-workers ``
491
491
on deploy. This will signal to each worker that it should finish the message
492
492
it's currently handling and shut down gracefully. Then, Supervisor will create
493
- new worker processes. The command uses the :ref: `app <cache-configuration-with-frameworkbundle >`
494
- cache internally - so make sure this is configured to use an adapter you like.
493
+ new worker processes.
494
+
495
+ .. note ::
496
+
497
+ By default, the ``messenger:stop-workers `` command uses the :ref: `cache.app <cache-configuration-with-frameworkbundle >`
498
+ cache pool internally.
499
+ In order to ensure there is never a conflict between pools, this pool will always
500
+ have its own namespace.
501
+ If you are not setting the ``cache.prefix.seed `` parameter and your deploy strategy
502
+ involves the creation of new target directories, please note that the ``cache.app ``
503
+ pool will use by default the value of the ``kernel.project_dir `` parameter as base
504
+ for the namespace, which will lead to different namespaces between deploys,
505
+ making this command obsolete.
495
506
496
507
Prioritized Transports
497
508
~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments