|
1 | 1 | ======================
|
2 |
| -Performance monitoring |
| 2 | +Performance management |
3 | 3 | ======================
|
4 | 4 |
|
5 | 5 | Odoo integrates a variety of tools to analyze and improve the performance of your eCommerce
|
@@ -32,3 +32,29 @@ Analytics
|
32 | 32 |
|
33 | 33 | It is possible to link your Odoo website with :ref:`analytics/plausible` and
|
34 | 34 | :ref:`analytics/google-analytics`.
|
| 35 | + |
| 36 | +.. _ecommerce/performance/email_queue: |
| 37 | + |
| 38 | +Email queue optimization |
| 39 | +======================== |
| 40 | + |
| 41 | +For websites handling flash sales (e.g., event ticket sales) or experiencing high traffic spikes, |
| 42 | +order confirmation emails can become a performance bottleneck, potentially slowing down the checkout |
| 43 | +process for other customers. |
| 44 | + |
| 45 | +To improve performance, these emails can be queued and processed separately from the order |
| 46 | +confirmation flow. This is managed by the :guilabel:`Sales: Send pending emails` scheduled action, |
| 47 | +which sends queued emails as soon as possible. |
| 48 | + |
| 49 | +To enable asynchronous email sending: |
| 50 | + |
| 51 | +#. Enable the :doc:`developer mode </applications/general/developer_mode>`. |
| 52 | +#. Go to :menuselection:`Settings --> Technical --> System Parameters` and set the |
| 53 | + :guilabel:`sale.async_emails` system parameter to `True`. |
| 54 | +#. Go to :menuselection:`Settings --> Technical --> Scheduled Actions` and enable the |
| 55 | + :guilabel:`Sales: Send pending emails` scheduled action. |
| 56 | + |
| 57 | +.. caution:: |
| 58 | + Enabling this feature may delay order confirmation and invoice emails by a few minutes. It is |
| 59 | + recommended only for high-traffic websites, as it can introduce unnecessary delays for e-commerce |
| 60 | + websites with moderate traffic. |
0 commit comments