Skip to content

Commit

Permalink
Merge pull request #1544 from tacman/patch-1
Browse files Browse the repository at this point in the history
fix typo and remove $ so gitclip works
  • Loading branch information
dbu authored Jan 2, 2024
2 parents ab08473 + 3b26583 commit 1d42ed1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ the result. Then it redirects the client to the generated image file.

This works without any further tooling. There are some important disadvantages however:

* Applying all the filters to an images can take a lot of time and memory;
* Applying all the filters to an image can take a lot of time and memory;
* The images have to be processed by the web server answering web requests. This increases the load
on the server and may affect performance;
* The resolve controller URL is different from the cached image URL. When the image needs to be
Expand All @@ -33,7 +33,7 @@ First, `install symfony/messenger`_ with composer:

.. code-block:: terminal
$ composer require symfony/messenger
composer require symfony/messenger
.. code-block:: yaml
Expand Down Expand Up @@ -70,7 +70,7 @@ We need to run at least one consumer for the messages:

.. code-block:: terminal
$ php bin/console messenger:consume liip_imagine --time-limit=3600 --memory-limit=256M
php bin/console messenger:consume liip_imagine --time-limit=3600 --memory-limit=256M
You can run the consumers on a separate machine, as long as it shares the same storage for the
cached images. In a cloud system, you could even scale consumers based on the queue size to get
Expand Down Expand Up @@ -156,7 +156,7 @@ Here's how you can run it:

.. code-block:: bash
$ ./bin/console enqueue:consume --setup-broker -vvv
./bin/console enqueue:consume --setup-broker -vvv
Step 4: Send resolve cache message
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 1d42ed1

Please sign in to comment.