Skip to content

Commit

Permalink
Merge branch '3.1' into '3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien Carcel committed Oct 31, 2019
2 parents d574c1c + 8cfb458 commit 743651b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
14 changes: 14 additions & 0 deletions cloud_edition/flexibility_mode/docs/onboarder.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Ensure the Onboarder worker is always running
=============================================

You have to use Cron to ensure the worker is always running. For that, run the following command to edit the crontab:

.. code-block:: bash
crontab -e
Then add the following line at the end of the crontab:

.. code-block:: bash
42 */2 * * * akeneo:synchronization:message:consumer --env=prod --retry-limit=5 --ttl=6900
2 changes: 1 addition & 1 deletion cloud_edition/flexibility_mode/docs/partners.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Configurations of daemons are stored under `/home/akeneo/.systemd/pim_job_queue`

Each text file contains the list of supported jobs for a given queue.

Exemple in file `/home/akeneo/.systemd/pim_job_queue/1.conf`:
Example in file `/home/akeneo/.systemd/pim_job_queue/1.conf`:

.. code-block:: bash
:linenos:
Expand Down
1 change: 1 addition & 0 deletions cloud_edition/flexibility_mode/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ Flexibility Mode
docs/partners
docs/system_components
docs/disk_usage
docs/onboarder
5 changes: 5 additions & 0 deletions onboarder/synchronization/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ Launch the message worker
You want a supervised worker
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. warning::

This process is only for "On premise" PIMs. If you are using the Flexibility mode of Akeneo Cloud Edition,
please follow :doc:`this documentation </cloud_edition/flexibility_mode/docs/onboarder>` instead.

You can use supervisor to run the ``worker`` as a daemonized process, supervisor will monitor this process and according to the configuration you'll define it will be autostarted and autorestarted.

.. code-block:: bash
Expand Down

0 comments on commit 743651b

Please sign in to comment.