8000 minor #16251 Correct spelling & grammar in 4.4 messenger.rst (gnito-org) · symfony/symfony-docs@fc5a657 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc5a657

Browse files
committed
minor #16251 Correct spelling & grammar in 4.4 messenger.rst (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 messenger.rst <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- f0d6c65 Correct spelling & grammar in 4.4 messenger.rst
2 parents 8de2ef1 + f0d6c65 commit fc5a657

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

messenger.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Creating a Message & Handler
2525
Messenger centers around two different classes that you'll create: (1) a message
2626
class that holds data and (2) a handler(s) class that will be called when that
2727
message is dispatched. The handler class will read the message class and perform
28-
some task.
28+
one or more tasks.
2929

3030
There are no specific requirements for a message class, except that it can be
3131
serialized::
@@ -488,8 +488,8 @@ On production, there are a few important things to think about:
488488
**Restart Workers on Deploy**
489489
Each time you deploy, you'll need to restart all your worker processes so
490490
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
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

@@ -658,7 +658,7 @@ Graceful Shutdown
658658

659659
If you install the `PCNTL`_ PHP extension in your project, workers will handle
660660
the ``SIGTERM`` POSIX signal to finish processing their current message before
661-
exiting.
661+
terminating.
662662

663663
In some cases the ``SIGTERM`` signal is sent by Supervisor itself (e.g. stopping
664664
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.
879879
may not work correctly (like delayed queues).
880880

881881
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
883883
:class:`Symfony\\Component\\Messenger\\Transport\\AmqpExt\\Connection`.
884884

885885
You can also configure AMQP-specific settings on your message by adding
@@ -1037,7 +1037,7 @@ auto_setup Whether the table should be created
10371037

10381038
The datetime property of the messages stored in the database uses the
10391039
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.
10411041

10421042
Redis Transport
10431043
~~~~~~~~~~~~~~~
@@ -1647,7 +1647,7 @@ Middleware for Doctrine
16471647

16481648
.. versionadded:: 1.11
16491649

1650-
The following Doctrine middleware were introduced in DoctrineBundle 1.11.
1650+
The following Doctrine middleware was introduced in DoctrineBundle 1.11.
16511651

16521652
If you use Doctrine in your app, a number of optional middleware exist that you
16531653
may want to use:

0 commit comments

Comments
 (0)
0