Created on 2020-11-13.17:38:13 by ced, last changed 3 days ago by roundup-bot.
New changeset e9fdecabd3f6 by Cédric Krier in branch '5.8': Store listener threads per process https://hg.tryton.org/trytond/rev/e9fdecabd3f6 New changeset 3dcd5d0f8b46 by Cédric Krier in branch '5.6': Store listener threads per process https://hg.tryton.org/trytond/rev/3dcd5d0f8b46 New changeset 642bbe20ede1 by Cédric Krier in branch '5.4': Store listener threads per process https://hg.tryton.org/trytond/rev/642bbe20ede1 New changeset 72237804fbcd by Cédric Krier in branch '5.0': Store listener threads per process https://hg.tryton.org/trytond/rev/72237804fbcd
New changeset fb40da5f2a75 by Cédric Krier in branch 'default': Store listener threads per process https://hg.tryton.org/tryton-env/rev/fb40da5f2a75
New changeset ecc681290782 by Cédric Krier in branch 'default': Store listener threads per process https://hg.tryton.org/trytond/rev/ecc681290782
When trytond process is forked (for example by µwsgi), new listeners for the Cache and the Bus are not started if they were started on the parent process. This is because we use the thread object stored in a dictionary as detector to start or not. But on the forked process we still have the value from the parent.
This is the same problem as issue8281 for database connection so I think we should solve the same way by using the PID when storing such values.
messages: + msg62300
|2020-11-27 22:20:28||roundup-bot||set||messages: + msg62257|
nosy: + roundup-bot
status: testing -> resolved
|2020-11-19 15:14:06||nicoe||set||nosy: + nicoe|
|2020-11-13 19:56:43||reviewbot||set||messages: + msg61913|
nosy: + reviewbot
|2020-11-13 17:46:41||ced||set||keyword: + backport|
status: in-progress -> testing
Showing 10 items. Show all history (warning: this could be VERY long)