diff options
| author | Enric Tobella <etobella@creublanca.es> | 2019-07-25 12:58:10 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-07-25 14:01:55 +0000 |
| commit | 2486259ef99ec85cf1c0a8200e31d350c582fd4c (patch) | |
| tree | d9d5271e6c3acdd07c1edcc6021e3b60a0ac446d /addons/base_setup/static/src/xml/res_config_dev_tool.xml | |
| parent | a6f66f8bcf3657d70ba850a17d8d6d436b048524 (diff) | |
[IMP] base: reduced number of checks on module loading
If you have a module with several dependencies or a complex dependency
graph, the system repeats the number of checks of a module.
For example: we have 4 modules A, B, C and D, where A depends on B and C,
B depends on D and C depends on D.
Before this patch, we check once if A is installed, once if B is
installed, once if C is installed and twice id D is installed.
With this patch, D is checked only once.
On this example, the difference is minimal but on worse scenario as
explained on the below issue, the processing time was provoking a
timeout on test platform
https://github.com/odoo/odoo/pull/29779#issuecomment-452821082
Cherry-pick to master of #29779
closes odoo/odoo#35185
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/base_setup/static/src/xml/res_config_dev_tool.xml')
0 files changed, 0 insertions, 0 deletions
