Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 30429d74 by Cédric Krier at 2024-03-06T18:28:38+01:00 Make pool initialization atomic An instance of pool is created per thread and it stores a reference to the current pool values. When the pool is initialized, a temporary reference is set on the instance so only the values for this thread is modified. Once the initialization is complete, the new pool value replace the global values. Each instances is refreshed with the global values after the pool has been stopped. Closes #11401 - - - - - 6 changed files: - trytond/bin/trytond - trytond/doc/ref/pool.rst - trytond/trytond/cache.py - trytond/trytond/pool.py - trytond/trytond/tests/test_i18n.py - trytond/trytond/tests/tools.py View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/30429d744d295f6d9b1e7340205c9ba453e44a34 -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/30429d744d295f6d9b1e7340205c9ba453e44a34 You're receiving this email because of your account on foss.heptapod.net.
