Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
d51b0990 by Nicolas Évrard at 2023-11-16T23:37:19+01:00
Do not start threads before the end of the evaluation of trytond.application

When uwsgi forks workers it can happen that python execute the code from one of
the launched thread (eg: the cache listener or trytond-status). In that case
python will keep executing the thread and never switch to the main thread. Thus
preventing to listen for incoming connections.

Closes #12758
- - - - -
0b6d1b1f by Nicolas Évrard at 2023-11-22T01:37:11+01:00
Assert that only one thread is active in trytond.application
- - - - -


4 changed files:

- trytond/trytond/application.py
- trytond/trytond/cache.py
- trytond/trytond/config.py
- trytond/trytond/status.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3055098129d4afbf82af5fa527e3d3e357ea7021...0b6d1b1f94c90c612a9cd191398c13cd96549d0c

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3055098129d4afbf82af5fa527e3d3e357ea7021...0b6d1b1f94c90c612a9cd191398c13cd96549d0c
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to