Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Correct spelling & grammar in 4.4 messenger.rst #16251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions 14 messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Creating a Message & Handler
Messenger centers around two different classes that you'll create: (1) a message
class that holds data and (2) a handler(s) class that will be called when that
message is dispatched. The handler class will read the message class and perform
some task.
one or more tasks.

There are no specific requirements for a message class, except that it can be
serialized::
Expand Down Expand Up @@ -488,8 +488,8 @@ On production, there are a few important things to think about:
**Restart Workers on Deploy**
Each time you deploy, you'll need to restart all your worker processes so
that they see the newly deployed code. To do this, run ``messenger:stop-workers``
on deploy. This will signal to each worker that it should finish the message
it's currently handling and shut down gracefully. Then, Supervisor will create
on deployment. This will signal to each worker that it should finish the message
it's currently handling and should shut down gracefully. Then, Supervisor will create
new worker processes. The command uses the :ref:`app <cache-configuration-with-frameworkbundle>`
cache internally - so make sure this is configured to use an adapter you like.

Expand Down Expand Up @@ -658,7 +658,7 @@ Graceful Shutdown

If you install the `PCNTL`_ PHP extension in your project, workers will handle
the ``SIGTERM`` POSIX signal to finish processing their current message before
exiting.
terminating.
gnito-org marked this conversation as resolved.
Show resolved Hide resolved

In some cases the ``SIGTERM`` signal is sent by Supervisor itself (e.g. stopping
a Docker container having Supervisor as its entrypoint). In these cases you
Expand Down Expand Up @@ -879,7 +879,7 @@ To use Symfony's built-in AMQP transport, you need the AMQP PHP extension.
may not work correctly (like delayed queues).

The transport has a number of other options, including ways to configure
the exchange, queues binding keys and more. See the documentation on
the exchange, queues, binding keys and more. See the documentation on
:class:`Symfony\\Component\\Messenger\\Transport\\AmqpExt\\Connection`.

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

The datetime property of the messages stored in the database uses the
timezone of the current system. This may cause issues if multiple machines
with different timezone configuration use the same storage.
with different timezone configurations use the same storage.

Redis Transport
~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -1647,7 +1647,7 @@ Middleware for Doctrine

.. versionadded:: 1.11

The following Doctrine middleware were introduced in DoctrineBundle 1.11.
The following Doctrine middleware was introduced in DoctrineBundle 1.11.

If you use Doctrine in your app, a number of optional middleware exist that you
may want to use:
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.