@@ -25,7 +25,7 @@ Creating a Message & Handler
25
25
Messenger centers around two different classes that you'll create: (1) a message
26
26
class that holds data and (2) a handler(s) class that will be called when that
27
27
message is dispatched. The handler class will read the message class and perform
28
- some task .
28
+ one or more tasks .
29
29
30
30
There are no specific requirements for a message class, except that it can be
31
31
serialized::
@@ -488,8 +488,8 @@ On production, there are a few important things to think about:
488
488
**Restart Workers on Deploy **
489
489
Each time you deploy, you'll need to restart all your worker processes so
490
490
that they see the newly deployed code. To do this, run ``messenger:stop-workers ``
491
- on deploy . This will signal to each worker that it should finish the message
492
- it's currently handling and shut down gracefully. Then, Supervisor will create
491
+ on deployment . This will signal to each worker that it should finish the message
492
+ it's currently handling and should shut down gracefully. Then, Supervisor will create
493
493
new worker processes. The command uses the :ref: `app <cache-configuration-with-frameworkbundle >`
494
494
cache internally - so make sure this is configured to use an adapter you like.
495
495
@@ -658,7 +658,7 @@ Graceful Shutdown
658
658
659
659
If you install the `PCNTL `_ PHP extension in your project, workers will handle
660
660
the ``SIGTERM `` POSIX signal to finish processing their current message before
661
- exiting .
661
+ terminating .
662
662
663
663
In some cases the ``SIGTERM `` signal is sent by Supervisor itself (e.g. stopping
664
664
a Docker container having Supervisor as its entrypoint). In these cases you
@@ -879,7 +879,7 @@ To use Symfony's built-in AMQP transport, you need the AMQP PHP extension.
879
879
may not work correctly (like delayed queues).
880
880
881
881
The transport has a number of other options, including ways to configure
882
- the exchange, queues binding keys and more. See the documentation on
882
+ the exchange, queues, binding keys and more. See the documentation on
883
883
:class: `Symfony\\ Component\\ Messenger\\ Transport\\ AmqpExt\\ Connection `.
884
884
885
885
You can also configure AMQP-specific settings on your message by adding
@@ -1037,7 +1037,7 @@ auto_setup Whether the table should be created
1037
1037
1038
1038
The datetime property of the messages stored in the database uses the
1039
1039
timezone of the current system. This may cause issues if multiple machines
1040
- with different timezone configuration use the same storage.
1040
+ with different timezone configurations use the same storage.
1041
1041
1042
1042
Redis Transport
1043
1043
~~~~~~~~~~~~~~~
@@ -1647,7 +1647,7 @@ Middleware for Doctrine
1647
1647
1648
1648
.. versionadded :: 1.11
1649
1649
1650
- The following Doctrine middleware were introduced in DoctrineBundle 1.11.
1650
+ The following Doctrine middleware was introduced in DoctrineBundle 1.11.
1651
1651
1652
1652
If you use Doctrine in your app, a number of optional middleware exist that you
1653
1653
may want to use:
0 commit comments