diff options
| author | Guewen Baconnier <guewen.baconnier@camptocamp.com> | 2017-12-13 15:04:28 +0100 |
|---|---|---|
| committer | xmo-odoo <xmo@odoo.com> | 2017-12-13 15:04:28 +0100 |
| commit | f3bb9ae679c665b4747ed9f52d47015a5d87f120 (patch) | |
| tree | 4ebae850491b105d3bcfb0d9a14dff1000abd762 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | b37cc1f9b7897759a86cdccfa1b06d58361a97da (diff) | |
[FIX] unnecessary rebuilding of assets
The checksum computed to verify the version of the assets includes a list of
files as JSON. This JSON is generated from a list of dictionaries.
When using Python <3.6, the ordering of the dictionaries is not guaranteed which
lead to unnecessary rebuild of assets. Particularly when starting Odoo on more
than one host, the current implementation hits this issue:
* server 1 computes the checksum with an ordering and generates the assets
* server 2 computes the checksum with a different ordering and generates the assets
* server 1 computes the checksum with a different ordering and generates the assets
* And so on...
Which obviously lead to disastrous performances.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
