Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] odoo: stop bloating sys.meta_path
Every call of initialize_sys_path was adding two new hooks to the sys.meta_path, resulting in very long loading times on databases having a lot of modules. For example, 2.27s instead of 752 on a database having 130 installed modules. References: - odoo#45780 - odoo#45662 closes odoo#53098 Signed-off-by: Olivier Dony (odo) <[email protected]>
- Loading branch information