Tryton - Issues

 

Issue8281

Title Do not copy connection pool after fork
Priority bug Status resolved
Superseder Nosy List ced, roundup-bot
Type crash Components trytond
Assigned To ced Keywords
Reviews 285251002
View: 285251002

Created on 2019-04-15.20:13:17 by ced, last changed by roundup-bot.

Messages
New changeset dc4e5d3698fe by Cédric Krier in branch 'default':
Store database pool per process
https://hg.tryton.org/tryton-env/rev/dc4e5d3698fe
New changeset f9982286317a by Cédric Krier in branch 'default':
Store database pool per process
https://hg.tryton.org/trytond/rev/f9982286317a
msg49964 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-06-04.11:49:52
Here is review285251002 which store connection pool per pid.
New review285251002 at https://codereview.tryton.org/285251002/#ps287371002
msg49056 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-04-15.20:13:17
From https://discuss.tryton.org/t/connection-closed-every-couple-of-minutes/1309
When wsgi server uses fork the connection pool should be dropped because they can not be shared between processes.
History
Date User Action Args
2019-06-27 21:45:58roundup-botsetmessages: + msg50439
2019-06-27 21:45:51roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg50438
2019-06-04 11:49:53cedsetstatus: chatting -> testing
assignedto: ced
messages: + msg49964
keyword: - review
nosy: - reviewbot
2019-06-04 11:47:00reviewbotsetstatus: unread -> chatting
nosy: + reviewbot
messages: + msg49963
2019-06-04 11:46:59reviewbotsetreviews: 285251002
keyword: + review
2019-04-15 20:13:17cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)